Antoine Pitrou <pit...@free.fr> added the comment: I can't reproduce under Linux. Is 3.1 also affected? Can you try the following patch:
Index: Python/pythonrun.c =================================================================== --- Python/pythonrun.c (révision 84718) +++ Python/pythonrun.c (copie de travail) @@ -219,6 +219,8 @@ /* auto-thread-state API, if available */ #ifdef WITH_THREAD + if (PyEval_ThreadsInitialized()) + PyEval_ReInitThreads(); _PyGILState_Init(interp, tstate); #endif /* WITH_THREAD */ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9828> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com