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 ncoghlan
Date 2013-05-12.10:57:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368356222.14.0.0972295622627.issue17961@psf.upfronthosting.co.za>
In-reply-to
Content
I encountered an interesting suggestion [1] regarding the enum.Enum convenience API: use the member names as their values, rather than the current integers starting from one.

Since we're now using definition order rather than value order for iteration, this suggestion makes a lot of sense to me.

(again, posting this as something to consider after the accepted PEP is incorporated)

[1] http://www.acooke.org/cute/Pythonssad0.html
History
Date User Action Args
2013-05-12 10:57:02ncoghlansetrecipients: + ncoghlan
2013-05-12 10:57:02ncoghlansetmessageid: <1368356222.14.0.0972295622627.issue17961@psf.upfronthosting.co.za>
2013-05-12 10:57:02ncoghlanlinkissue17961 messages
2013-05-12 10:57:01ncoghlancreate