[issue17961] Use enum names as values in enum.Enum convenience API

Ethan Furman report at bugs.python.org
Mon May 13 04:06:04 CEST 2013


Ethan Furman added the comment:

On 05/12/2013 06:57 PM, Barry A. Warsaw wrote:
>
> Do you really think the enum discussion on python-dev was too short and could use another few thousand messages? ;)

No!

> Or IOW, hasn't this already been decided by virtue of PEP acceptance?

Indeed it has.  I was merely replying to your comment about keeping class and function syntax in sync, when in fact 
there is no longer any direct correlation between the two other than the names used and the type created.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17961>
_______________________________________


More information about the Python-bugs-list mailing list