Remove unnecessary deprecated C API call to support Python 3.9
This call was probably never necessary, especially since the next call
was to PyEval_SaveThread. According to the Python documentation "It is
not needed before calling PyEval_SaveThread()..."
@@ -131,7 +131,6 @@ extern "C" void embed_init_python(void)
set_program_name_in_venv();
Py_Initialize(); /* Initialize the interpreter */
PySys_SetArgvEx(1, argv, 0);
- PyEval_InitThreads(); /* Create (and acquire) the interpreter lock */
/* Swap out and return current thread state and release the GIL */
gtstate = PyEval_SaveThread();
