[issue24840] implement bool conversion for enums to prevent odd edge case

Ethan Furman report at bugs.python.org
Tue Dec 22 17:11:48 EST 2015


Ethan Furman added the comment:

The enum34 backport has been fixed to not have 3.6 only features (assuming the __bool__ change was the only one).

Was that your only objection, or do you not want this change in 3.6 either?

----------

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


More information about the Python-bugs-list mailing list