summaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2011-06-02 22:09:43 +0000
committerCaroline Tice <ctice@apple.com>2011-06-02 22:09:43 +0000
commitc928f59c90aaeb1398ae7b8a94521f740d734d7d (patch)
tree21ada70bdf32e218e1a0fb1cd16684e8ad211792 /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parent123363cf107528f2a5f93803cbc2e94ad0273a65 (diff)
Use Py_InitializeEx(0) instead of Py_Initialize,
to prevent Python from installing its own signal handlers. llvm-svn: 132492
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index 373699127d76..9ff176f42d40 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -1540,7 +1540,7 @@ ScriptInterpreterPython::InitializePrivate ()
}
PyEval_InitThreads ();
- Py_Initialize ();
+ Py_InitializeEx (0);
PyObject *compiled_module = Py_CompileString (embedded_interpreter_string,
"embedded_interpreter.py",