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 vstinner
Recipients christian.heimes, docs@python, pitrou, vstinner
Date 2013-11-14.08:28:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Perhaps we can fix PyGILState to call PyEval_InitThreads automatically?

Yes, I had the same idea. Here is a patch to call PyEval_InitThreads() in PyGILState_Ensure() for new threads.
Date User Action Args
2013-11-14 08:28:02vstinnersetrecipients: + vstinner, pitrou, christian.heimes, docs@python
2013-11-14 08:28:02vstinnersetmessageid: <>
2013-11-14 08:28:02vstinnerlinkissue19576 messages
2013-11-14 08:28:02vstinnercreate