Barry Warsaw
af9a392e94
ValueError instead of TypeError
2013-04-05 14:23:18 -04:00
Barry Warsaw
ec85633fa4
A couple of corrections and additions.
2013-04-05 13:52:37 -04:00
Eli Bendersky
cbd95cbb7b
Trim trailing whitespace
2013-04-04 06:52:41 -07:00
Eli Bendersky
44b674e3a4
Updated PEP 435:
...
* split the main section to some subsections, to make it more readable
* described non-int values
* removed mentions of implicit int-ness of Enum, which is no longer
supported (unless in IntEnum)
* described the new convenience API
* misc. cleanups
2013-04-04 06:52:14 -07:00
Eli Bendersky
cb3c841bab
Updates based on recent enhancements in flufl.enum + some clarifications.
...
More TODOs remain: importantly, the improved convenience/functional API.
2013-04-02 07:09:55 -07:00
Eli Bendersky
d99232e4df
Add a mention of IntEnum, summarizing the language summit and later discussions
...
on the subject.
Note that this is still in draft stage and decisions can change (and have
changed more than once over the past few days).
2013-03-15 07:25:45 -07:00
Barry Warsaw
72af6a15bc
PEP 435, Adding an Enum type to the Python standard library, Bendersky/Warsaw
2013-02-25 10:15:03 -05:00