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

Gregory P. Smith report at bugs.python.org
Tue Dec 22 17:22:11 EST 2015


Gregory P. Smith added the comment:

lets collect some examples of where it causes problems (someone ran into the problem at work which is why i hunted down this bugs.python.org issue) before deciding.

If it stays in, it needs a mention in both Misc/NEWS and What's New as it will require some people to test and update their code for 3.6.  Examples will let us decide which way to go.

----------

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


More information about the Python-bugs-list mailing list