[Python-ideas] A Simpler Enum For Python 3
Nick Coghlan
ncoghlan at gmail.com
Sun Jun 2 23:03:06 CEST 2013
Please call it something like "magic enum" rather than "simple enum" - the
reason we rejected that design for the PEP is because it is anything *but*
simple and breaks most standard assumptions about how class bodies work.
(If you look at the enum discussion threads, this syntax was proposed *and*
implemented prior to acceptance of the design in the PEP)
Cheers,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130603/a7aa3f50/attachment.html>
More information about the Python-ideas
mailing list