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 authored and mdavidsaver committed 2019-03-12 14:00:08 -07:00
1 parent 6e3c3d6aed
commit 15dfe2aa92
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ static void setupPyPath(void)
static void pySetupReg(void)
{
Py_Initialize();
Py_InitializeEx(0);
PyEval_InitThreads();
setupPyPath();