[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

Georg Brandl report at bugs.python.org
Fri Feb 3 22:05:38 CET 2012


Georg Brandl <georg at python.org> added the comment:

BTW, "being a valid time" is not a good argument: 0, "" or False are all valid instances of their types.

----------

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


More information about the Python-bugs-list mailing list