[issue17267] datetime.time support for '+' and 'now'

Petri Lehtinen report at bugs.python.org
Wed Feb 27 12:10:23 CET 2013


Petri Lehtinen added the comment:

A time object isn't associated with any date, so I don't really see a
problem here. The fact that you can shoot yourself in the leg can be
documented, noting that you should use datetime instead.

ISTM the reason why time objects even have an associated timezone is
to support easy calculations between times in different timezones.

----------

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


More information about the Python-bugs-list mailing list