This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients ocean-city, pitrou
Date 2010-09-12.11:35:03
SpamBayes Score 0.00056809856
Marked as misclassified No
Message-id <1284291305.24.0.190603686939.issue9828@psf.upfronthosting.co.za>
In-reply-to
Content
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 */
History
Date User Action Args
2010-09-12 11:35:05pitrousetrecipients: + pitrou, ocean-city
2010-09-12 11:35:05pitrousetmessageid: <1284291305.24.0.190603686939.issue9828@psf.upfronthosting.co.za>
2010-09-12 11:35:03pitroulinkissue9828 messages
2010-09-12 11:35:03pitroucreate