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

is started with that option.
 (backport from rev. 52295)
This commit is contained in:
Georg Brandl 2006-10-12 07:57:24 +00:00
parent bdbb9c62de
commit f0db92a676
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -66,6 +66,9 @@ Extension Modules
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
to encodings.search_function() contains a dot.