commit | 4dfa5119a5262954d0a09abf567f7332ed6e1ecc | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Mon Aug 22 19:10:09 2011 +0000 |
committer | Jim Ingham <jingham@apple.com> | Mon Aug 22 19:10:09 2011 +0000 |
tree | faf8480da962bad8c6b190e2d56c1a678a87c7db | |
parent | b0968f5c6b8c15d5cb223676686e014eb12c44c1 [diff] [blame] |
Don't let Python write its .pyc files, that's not really polite... git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138262 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/ScriptInterpreterPython.cpp b/source/Interpreter/ScriptInterpreterPython.cpp index 45c68b1..fe1fe23 100644 --- a/source/Interpreter/ScriptInterpreterPython.cpp +++ b/source/Interpreter/ScriptInterpreterPython.cpp
@@ -2079,6 +2079,7 @@ PyRun_SimpleString ("import sys"); PyRun_SimpleString ("sys.path.append ('.')"); + PyRun_SimpleString ("sys.dont_write_bytecode = 1"); PyRun_SimpleString ("import embedded_interpreter");