[issue7739] time.strftime may hung while trying to open /etc/localtime but does not release GIL
STINNER Victor
report at bugs.python.org
Thu Jan 21 02:47:41 CET 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
time_tzset() might also release the GIL, but:
- i hope that multithreaded programs don't call regulary tzset() in different threads
- time_tzset() calls tzset() and inittimezone()
- inittimezone() modify the time module attributes and may call tzset() (depending on the OS / C library). it's also called from inittime()
So I prefer to leave it unchanged :-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7739>
_______________________________________
More information about the Python-bugs-list
mailing list