]> granicus.if.org Git - python/commitdiff
There was an error in the Tk error dialog fix at Rev 1.84 which caused starting
authorKurt B. Kaiser <kbk@shore.net>
Wed, 21 Jan 2004 22:10:01 +0000 (22:10 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 21 Jan 2004 22:10:01 +0000 (22:10 +0000)
w/o the subprocess to fail.  Check in a fix to IDLE and IDLEfork.

M PyShell.py

Backport candidate, combine with previous.

Lib/idlelib/PyShell.py

index fe940cb9aa940abe7a2e18f55a0c2f1abf0b95ed..060528512fe493ed9df50a42b57f4f231ca606fd 100644 (file)
@@ -926,7 +926,7 @@ class PyShell(OutputWindow):
             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 @@ class PyShell(OutputWindow):
         self.showprompt()
         import Tkinter
         Tkinter._default_root = None # 03Jan04 KBK What's this?
-        return client
+        return True
 
     def readline(self):
         save = self.reading