[issue28159] Deprecate isdst argument in email.utils.localtime

R. David Murray report at bugs.python.org
Fri Nov 18 11:23:27 EST 2016


R. David Murray added the comment:

No, localtime does something subtly different, in that it will accept a naive datetime add the local timezone to it.  Calling localtime() is also more convenient/readable than calling datetime.now().astimezone().

----------

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


More information about the Python-bugs-list mailing list