diff Lib/idlelib/PyShell.py @ 33534:fe242f69a9d3 2.3

There was an error in the Tk error dialog fix at Rev 1.81.4.3 which caused starting w/o the subprocess to fail. This is the same error in the 2.4 version which was corrected at Rev 1.85, but missed in the backport! Thanks to Hans Gubitz for noticing this. M PyShell.py
author Kurt B. Kaiser <kbk@shore.net>
date Wed, 22 Sep 2004 04:52:33 +0000
parents 7e7273c8d21e
children a15fa059f9f0
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py	Sat Sep 18 16:04:21 2004 +0000
+++ b/Lib/idlelib/PyShell.py	Wed Sep 22 04:52:33 2004 +0000
@@ -926,7 +926,7 @@
             client = self.interp.start_subprocess()
             if not client:
                 self.close()
-                return None
+                return False
         else:
             nosub = "==== No Subprocess ===="
         self.write("Python %s on %s\n%s\n%s\nIDLE %s      %s\n" %
@@ -935,7 +935,7 @@
         self.showprompt()
         import Tkinter
         Tkinter._default_root = None # 03Jan04 KBK What's this?
-        return client
+        return True
 
     def readline(self):
         save = self.reading