[issue24840] implement bool conversion for enums to prevent odd edge case
R. David Murray
report at bugs.python.org
Tue Aug 11 16:59:13 CEST 2015
R. David Murray added the comment:
I agree that it seems odd that testing a 'value' that is false for its truth value would return True. It is surprising, even if it is an edge case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24840>
_______________________________________
More information about the Python-bugs-list
mailing list