diff options
| author | Jim Ingham <jingham@apple.com> | 2011-08-22 19:10:09 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-08-22 19:10:09 +0000 |
| commit | 586b0bd8bda486a33283db43874635a26937221a (patch) | |
| tree | 25c71cd6dfcb30e55e9dc7284cae3f1be0f9ade7 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
| parent | 618e574253c44e092800608f75ef8370ffca3d65 (diff) | |
| download | bcm5719-llvm-586b0bd8bda486a33283db43874635a26937221a.tar.gz bcm5719-llvm-586b0bd8bda486a33283db43874635a26937221a.zip | |
Don't let Python write its .pyc files, that's not really polite...
llvm-svn: 138262
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
| -rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 45c68b1d59b..fe1fe2302ad 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -2079,6 +2079,7 @@ ScriptInterpreterPython::InitializePrivate () PyRun_SimpleString ("import sys"); PyRun_SimpleString ("sys.path.append ('.')"); + PyRun_SimpleString ("sys.dont_write_bytecode = 1"); PyRun_SimpleString ("import embedded_interpreter"); |

