[Python-checkins] r52296 - in python/branches/release25-maint: Lib/idlelib/PyShell.py Misc/NEWS

georg.brandl python-checkins at python.org
Thu Oct 12 09:57:25 CEST 2006


Author: georg.brandl
Date: Thu Oct 12 09:57:24 2006
New Revision: 52296

Modified:
   python/branches/release25-maint/Lib/idlelib/PyShell.py
   python/branches/release25-maint/Misc/NEWS
Log:
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
 (backport from rev. 52295)

Modified: python/branches/release25-maint/Lib/idlelib/PyShell.py
==============================================================================
--- python/branches/release25-maint/Lib/idlelib/PyShell.py	(original)
+++ python/branches/release25-maint/Lib/idlelib/PyShell.py	Thu Oct 12 09:57:24 2006
@@ -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.

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Thu Oct 12 09:57:24 2006
@@ -66,6 +66,9 @@
 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.
 


More information about the Python-checkins mailing list