diff options
author | Georg Brandl <georg@python.org> | 2006-10-12 07:57:21 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-10-12 07:57:21 (GMT) |
commit | d076153ee8a9e4e2e7ecd3ff77fdb3b7aaf7ef77 (patch) | |
tree | 8926b24b9f0ce69badcaf0f60a0d6dd6257441b2 /Lib/idlelib | |
parent | fc8375748a8aacb1fb2e5eedd7a48bc6523b6fec (diff) | |
download | cpython-d076153ee8a9e4e2e7ecd3ff77fdb3b7aaf7ef77.zip cpython-d076153ee8a9e4e2e7ecd3ff77fdb3b7aaf7ef77.tar.gz cpython-d076153ee8a9e4e2e7ecd3ff77fdb3b7aaf7ef77.tar.bz2 |
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/PyShell.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index fffe162..addd90e 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -351,6 +351,8 @@ class ModifiedInterpreter(InteractiveInterpreter): def build_subprocess_arglist(self): w = ['-W' + s for s in sys.warnoptions] + if 1/2 > 0: # account for new division + w.append('-Qnew') # Maybe IDLE is installed and is being accessed via sys.path, # or maybe it's not installed and the idle.py script is being # run from the IDLE source directory. |