]> granicus.if.org Git - python/commitdiff
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
authorGeorg Brandl <georg@python.org>
Thu, 12 Oct 2006 07:57:21 +0000 (07:57 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 12 Oct 2006 07:57:21 +0000 (07:57 +0000)
is started with that option.

Lib/idlelib/PyShell.py
Misc/NEWS

index fffe16213798373245ade4d01caa940a61665f29..addd90e7f362ca1aece04e05aafdce510fb8ad1e 100644 (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.
index 760dc1ef4b948a044add93f7e5e9291b0e712391..75ef538fa190dab85a32ce98ca8a06b674760a61 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -75,6 +75,9 @@ Core and builtins
 Library
 -------
 
+- Bug #813342: Start the IDLE subprocess with -Qnew if the parent
+  is started with that option.
+
 - Bug #1565150: Fix subsecond processing for os.utime on Windows.
 
 - Support for MSVC 8 was added to bdist_wininst.