[docs] [issue19576] "Non-Python created threads" documentation doesn't mention PyEval_InitThreads()

STINNER Victor report at bugs.python.org
Thu Nov 14 09:28:02 CET 2013


STINNER Victor added the comment:

> Perhaps we can fix PyGILState to call PyEval_InitThreads automatically?

Yes, I had the same idea. Here is a patch to call PyEval_InitThreads() in PyGILState_Ensure() for new threads.

----------
keywords: +patch
Added file: http://bugs.python.org/file32609/PyGILState_Ensure.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19576>
_______________________________________


More information about the docs mailing list