Use Py_InitializeEx(0) instead of Py_Initialize,
to prevent Python from installing its own signal handlers. llvm-svn: 132492
This commit is contained in:
@@ -1540,7 +1540,7 @@ ScriptInterpreterPython::InitializePrivate ()
|
||||
}
|
||||
|
||||
PyEval_InitThreads ();
|
||||
Py_Initialize ();
|
||||
Py_InitializeEx (0);
|
||||
|
||||
PyObject *compiled_module = Py_CompileString (embedded_interpreter_string,
|
||||
"embedded_interpreter.py",
|
||||
|
||||
Reference in New Issue
Block a user