[issue22798] time.mktime doesn't update time.tzname
Alexander Belopolsky
report at bugs.python.org
Fri Aug 28 22:41:13 CEST 2015
Alexander Belopolsky added the comment:
C mktime itself should not change timezone globals, but it may indirectly if it calls tzset() and TZ changed between calls.
I don't understand what this issue is about. Unlike C mktime, time.mktime is not documented to call time.tzset(). If you want to change time.tzname - you need to call time.tzset() after changing TZ.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22798>
_______________________________________
More information about the Python-bugs-list
mailing list