Commit f0db92a6 authored by Georg Brandl's avatar Georg Brandl

Bug #813342: Start the IDLE subprocess with -Qnew if the parent

is started with that option.
 (backport from rev. 52295)
parent bdbb9c62
...@@ -351,6 +351,8 @@ class ModifiedInterpreter(InteractiveInterpreter): ...@@ -351,6 +351,8 @@ class ModifiedInterpreter(InteractiveInterpreter):
def build_subprocess_arglist(self): def build_subprocess_arglist(self):
w = ['-W' + s for s in sys.warnoptions] 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, # Maybe IDLE is installed and is being accessed via sys.path,
# or maybe it's not installed and the idle.py script is being # or maybe it's not installed and the idle.py script is being
# run from the IDLE source directory. # run from the IDLE source directory.
......
...@@ -66,6 +66,9 @@ Extension Modules ...@@ -66,6 +66,9 @@ Extension Modules
Library Library
------- -------
- Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
- Bug #1446043: correctly raise a LookupError if an encoding name given - Bug #1446043: correctly raise a LookupError if an encoding name given
to encodings.search_function() contains a dot. to encodings.search_function() contains a dot.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment