Message261750
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: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 | |
|