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

Barry A. Warsaw report at bugs.python.org
Mon May 13 03:57:08 CEST 2013


Barry A. Warsaw added the comment:

On May 12, 2013, at 8:35 PM, Ethan Furman wrote:

> 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.

Do you really think the enum discussion on python-dev was too short and could use another few thousand messages? ;)

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

----------

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


More information about the Python-bugs-list mailing list