This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients barry, cool-RR, eli.bendersky, ethan.furman
Date 2014-09-27.21:55:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, we're sure.  ;)

Enums have a definition order to aid in the use-case of auto-numbering, and to make displays consistent.  However, the basic Enum type is unordered.

I do not see a serial number as being an intrinsic property of an enum -- outside of auto-numbering (also not available in the stdlib), what difference does it make what order it was defined in?  What matters is the name and the value.

If you want your enum to have a serial number you can easily add that functionality in.
Date User Action Args
2014-09-27 21:55:00ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, cool-RR
2014-09-27 21:55:00ethan.furmansetmessageid: <>
2014-09-27 21:55:00ethan.furmanlinkissue22505 messages
2014-09-27 21:55:00ethan.furmancreate