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 <1457961401.7.0.508641923687.issue26558@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-03-14 13:16:41vstinnersetrecipients: + vstinner
2016-03-14 13:16:41vstinnersetmessageid: <1457961401.7.0.508641923687.issue26558@psf.upfronthosting.co.za>
2016-03-14 13:16:41vstinnerlinkissue26558 messages
2016-03-14 13:16:41vstinnercreate