-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hey,
In Python 3.4, according to docs, the order of the items should be by definition.
But here, the items are explicitly sorted and this is causing the wrong order if the values are not defined in the alphabetic order (e.g. for strings).
For int values it seems will also create issues, if someone define enum values in non ascending order, but I see no reason to do that.
For strings, it's more complicated as enum with string values can be defined in non-alphabetic order as it's not so obvious.
Metadata
Metadata
Assignees
Labels
No labels