[issue20891] PyGILState_Ensure on non-Python thread causes fatal error
STINNER Victor
report at bugs.python.org
Mon Jan 29 06:24:30 EST 2018
STINNER Victor <victor.stinner at gmail.com> added the comment:
I proposed PR 5421 to fix Python 3.6: modify Py_Initialize() to call PyEval_InitThreads().
I'm not sure of Python 2.7. Not only the backport is not straighforward, but I'm not sure that I want to touch the super-stable 2.7 branch. Maybe for 2.7, I should just remove the currently skipped test_bpo20891() test from test_capi.
What do you think?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20891>
_______________________________________
More information about the Python-bugs-list
mailing list