diff options
author | Georg Brandl <georg@python.org> | 2006-10-12 07:57:24 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-10-12 07:57:24 +0000 |
commit | f0db92a676055c48ee9c6119ffa057c9d6397a55 (patch) | |
tree | bb6707346cbf61b6a75e4237978a7cddba53b032 /Lib/idlelib/PyShell.py | |
parent | bdbb9c62deea03ddb592d839d6e86236a205f431 (diff) | |
download | cpython-git-f0db92a676055c48ee9c6119ffa057c9d6397a55.tar.gz |
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
(backport from rev. 52295)
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-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 aa27028b1b..1bdd0a64ca 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. |