[issue20855] RFE: change bool(0.0) to evaluate as True

Tim Peters report at bugs.python.org
Thu Mar 6 00:03:14 CET 2014


Tim Peters added the comment:

Excellent idea!  But then we should change bool(0.1) to be False too ;-)

----------
nosy: +tim.peters

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


More information about the Python-bugs-list mailing list