Message189013
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 |
|
Date |
User |
Action |
Args |
2013-05-12 10:57:02 | ncoghlan | set | recipients:
+ ncoghlan |
2013-05-12 10:57:02 | ncoghlan | set | messageid: <1368356222.14.0.0972295622627.issue17961@psf.upfronthosting.co.za> |
2013-05-12 10:57:02 | ncoghlan | link | issue17961 messages |
2013-05-12 10:57:01 | ncoghlan | create | |
|