commit | a54461d8df11c4632d8fa22e68519e055fd3c579 | [log] [tgz] |
---|---|---|
author | Caroline Tice <ctice@apple.com> | Thu Jun 02 22:09:43 2011 +0000 |
committer | Caroline Tice <ctice@apple.com> | Thu Jun 02 22:09:43 2011 +0000 |
tree | 54c28df8a98785b1cf452b3fc70b699810fbe43d | |
parent | f5ae76b9618790c637aa67039242f851764dabd1 [diff] |
Use Py_InitializeEx(0) instead of Py_Initialize, to prevent Python from installing its own signal handlers. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132492 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/ScriptInterpreterPython.cpp b/source/Interpreter/ScriptInterpreterPython.cpp index 3736991..9ff176f 100644 --- a/source/Interpreter/ScriptInterpreterPython.cpp +++ b/source/Interpreter/ScriptInterpreterPython.cpp
@@ -1540,7 +1540,7 @@ } PyEval_InitThreads (); - Py_Initialize (); + Py_InitializeEx (0); PyObject *compiled_module = Py_CompileString (embedded_interpreter_string, "embedded_interpreter.py",