[New-bugs-announce] [issue26558] Fix PyGILState_Check() with _testcapi.run_in_subinterp()
STINNER Victor
report at bugs.python.org
Mon Mar 14 09:16:41 EDT 2016
New submission from STINNER Victor:
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.
----------
messages: 261750
nosy: haypo
priority: normal
severity: normal
status: open
title: Fix PyGILState_Check() with _testcapi.run_in_subinterp()
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26558>
_______________________________________
More information about the New-bugs-announce
mailing list