diff Lib/idlelib/PyShell.py @ 40093:70140cccd3da legacy-trunk

Bug #813342: Start the IDLE subprocess with -Qnew if the parent is started with that option.
author Georg Brandl <georg@python.org>
date Thu, 12 Oct 2006 07:57:21 +0000
parents 89e4aebbf31c
children 1af8fee33013
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py	Thu Oct 12 07:38:04 2006 +0000
+++ b/Lib/idlelib/PyShell.py	Thu Oct 12 07:57:21 2006 +0000
@@ -351,6 +351,8 @@
 
     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.