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 ncoghlan
Recipients ethan.furman, ncoghlan
Date 2013-05-12.12:28:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368361736.34.0.770655422948.issue17961@psf.upfronthosting.co.za>
In-reply-to
Content
Specifically, my suggestion is that for auto-created enum members, the invariant "asset x.value == str(x)" should hold.

In flufl.enum, using integers made sense because it relies on sorting of values to determine the iteration order. That's no longer a concern for the standard library version, as iteration has been changed to use definition order.
History
Date User Action Args
2013-05-12 12:28:56ncoghlansetrecipients: + ncoghlan, ethan.furman
2013-05-12 12:28:56ncoghlansetmessageid: <1368361736.34.0.770655422948.issue17961@psf.upfronthosting.co.za>
2013-05-12 12:28:56ncoghlanlinkissue17961 messages
2013-05-12 12:28:56ncoghlancreate