[issue1283110] Give __len__() advice for "don't know"

Antoine Pitrou report at bugs.python.org
Tue Feb 17 20:27:16 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

If iterators don't want their boolean value to be messed up, couldn't
they simply use __bool__ for that?

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list