Marc-Andre Lemburg added the comment:

mktime() does change several global C runtime variables on Linux. See the man 
page on http://linux.die.net/man/3/mktime

However, the Python documentation does not mention anything about having 
time.tzname being tied to the C lib global: 
https://docs.python.org/3.5/library/time.html#time.tzname

So I don't think this qualifies as bug.

Note that those global C variable are not thread-safe, so you can't really 
trust their values relating to anything you've just set using mktime() anyway.

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22798>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to