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 vstinner
Date 2016-03-14.13:16:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
assert(PyGILState_Check()) cannot be used in functions called by Py_NewInterpreter(): the assertion fails.

I propose to add a flag to disable PyGILState_Check() while Py_NewInterpreter() is run to be able to add assertions in these functions.

The assertion helps to detect complex bugs like race condition in multithreaded applications.
Date User Action Args
2016-03-14 13:16:41vstinnersetrecipients: + vstinner
2016-03-14 13:16:41vstinnersetmessageid: <>
2016-03-14 13:16:41vstinnerlinkissue26558 messages
2016-03-14 13:16:41vstinnercreate