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:

committed by
mdavidsaver

parent
6e3c3d6aed
commit
15dfe2aa92
@ -114,7 +114,7 @@ static void setupPyPath(void)
|
||||
|
||||
static void pySetupReg(void)
|
||||
{
|
||||
Py_Initialize();
|
||||
Py_InitializeEx(0);
|
||||
PyEval_InitThreads();
|
||||
|
||||
setupPyPath();
|
||||
|
Reference in New Issue
Block a user