Python init: don't install sig handlers. Fix #5

Py_InitializeEx(0)  tells the embedded interpreter to not install signal handlers. This fix is ignored by Python <3.7. See https://bugs.python.org/issue35233.
This commit is contained in:
Bruno Martins
2019-03-12 12:03:22 -04:00
committed by mdavidsaver
parent 6e3c3d6aed
commit 15dfe2aa92

View File

@ -114,7 +114,7 @@ static void setupPyPath(void)
static void pySetupReg(void)
{
Py_Initialize();
Py_InitializeEx(0);
PyEval_InitThreads();
setupPyPath();