Closed AntyMew closed 5 years ago
Oops, thanks for the catch :S
This looks good! Thanks for the new unit tests as well. Can you bump the version to 0.8.6 in setup.py
?
I'm happy to merge this if you think it's ready.
Thank you! Yep, ready to merge
Merged the changes and uploaded version 0.8.6 to PyPI. Thanks for your contribution, @AntyMew !
Raises an
AssertionError
on any of the following:Other changes:
scope
argument to_parse_enum
to expedite collision checking{token.name: token, ...}
representing all names defined in the current scope (i.e. enum fields, message fields, and messages)Message.fields
andEnum.fields
to dicts to expedite collision checkingEnum.default