[issue6453] Improve bool TypeError message

R. David Murray report at bugs.python.org
Thu Jul 9 23:40:28 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

The error message is in error.  Int is not allowed in 3.x, only bool. 
This is thus superseded by issue 6428, which has already been fixed.

----------
nosy: +r.david.murray
priority:  -> normal
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> TypeError: __bool__ should return bool or int, returned int

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


More information about the Python-bugs-list mailing list