[issue22798] time.mktime doesn't update time.tzname
Akira Li
report at bugs.python.org
Mon Aug 31 11:35:02 CEST 2015
Akira Li added the comment:
> C mktime itself should not change timezone globals, but it may indirectly if it calls tzset() and TZ changed between calls.
You should have run the attached test_mktime_changes_tzname.c which demonstrates that (at least on some systems) C mktime *does* change tzname global even if TZ envvar is constant in the test.
Nowhere in my bug report I had mentioned different TZ values. I did mentioned *past* *future* dates -- the same timezone may have different utc offset, timezone abbreviations at different times. These timezone globals can change even if TZ is constant.
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22798>
_______________________________________
More information about the Python-bugs-list
mailing list