Message 261750 - Python tracker (original) (raw)

Message261750

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:41 vstinner set recipients: + vstinner
2016-03-14 13:16:41 vstinner set messageid: 1457961401.7.0.508641923687.issue26558@psf.upfronthosting.co.za
2016-03-14 13:16:41 vstinner link issue26558 messages
2016-03-14 13:16:41 vstinner create