Skip to content

Give tolerated developer fields stable names - #165

Open
Bolt4243 wants to merge 1 commit into
dtcooper:masterfrom
Bolt4243:fix/dummy-dev-field-name
Open

Bolt4243 wants to merge 1 commit into
dtcooper:masterfrom
Bolt4243:fix/dummy-dev-field-name

Conversation

@Bolt4243

Copy link
Copy Markdown

With check_developer_data=False, a missing developer field description creates a placeholder whose name is None. Iterating a message that also has normal fields then tries to sort string and None names and raises TypeError.

Assign the same unnamed_dev_field_<number> fallback used by parsed field descriptions. The regression parses a mixed normal and developer message through the supported tolerant mode and verifies it can be iterated.

Tests: full unittest suite, workflow flake8 checks, and coverage run with 94% total coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants