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

Ethan Furman report at bugs.python.org
Mon May 13 02:35:53 CEST 2013


Ethan Furman added the comment:

The class syntax (and default Enum) no longer have preferential treatment for integers (even __int__ is gone); so it is completely up to us as what should happen for the functional syntax.

----------

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


More information about the Python-bugs-list mailing list