[issue13936] RFE: change bool(datetime.time(0, 0, 0)) to evaluate as True

Antoine Pitrou report at bugs.python.org
Fri Mar 7 16:15:17 CET 2014


Antoine Pitrou added the comment:

> Otherwise I'm pretty sympathetic to the RFE, but I'd really like time
> arithmetic to work, so I guess I'd have to be -1 in that case,
> wouldn't I?

Adding times of the day sounds as well-defined to me as adding
centigrade temperatures.

----------

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


More information about the Python-bugs-list mailing list