STINNER Victor <victor.stin...@haypocalc.com> added the comment: > I understand your last comment as wanting to keep the GIL while calling > tzset(), but release it around the strftime() call.
Yes > You still want to apply your patch, right? http://sourceware.org/bugzilla/show_bug.cgi?id=4350 describes a crash. This issue is not a crash but a concurrency problem. I don't know if my patch fixes the initial problem: dorontal didn't try it and he doesn't explain us how to reproduce it. I also not sure that releasing the GIL may not introduce a new concurrency issue: it might crash if a thread calls strftime() and another thread calls setenv("TZ", "...") (if I understood correctly the GNU libc bug 4350). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7739> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com