]> granicus.if.org Git - python/commit
Close #19576: PyGILState_Ensure() now initializes threads. At startup, Python
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 13 Dec 2013 00:46:43 +0000 (01:46 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 13 Dec 2013 00:46:43 +0000 (01:46 +0100)
commit62ca10051b5aa07b86807a50674dbef4cace22f7
treea44e3375e425b589df8b8131f1c7f4b05b1979d8
parent56668dc187d9b77b76c8906a8e23198314aec18a
Close #19576: PyGILState_Ensure() now initializes threads. At startup, Python
has no concrete GIL. If PyGILState_Ensure() is called from a new thread for the
first time and PyEval_InitThreads() was not called yet, a GIL needs to be
created.
Misc/NEWS
Python/pystate.c