diff options
| author | Caroline Tice <ctice@apple.com> | 2011-06-02 22:09:43 +0000 |
|---|---|---|
| committer | Caroline Tice <ctice@apple.com> | 2011-06-02 22:09:43 +0000 |
| commit | c928f59c90aaeb1398ae7b8a94521f740d734d7d (patch) | |
| tree | 21ada70bdf32e218e1a0fb1cd16684e8ad211792 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
| parent | 123363cf107528f2a5f93803cbc2e94ad0273a65 (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.cpp | 2 |
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", |
