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.
V
Victor Stinner committed
62ca10051b5aa07b86807a50674dbef4cace22f7
Parent: 56668dc