[Python-checkins] python/dist/src/Lib/idlelib PyShell.py, 1.81.4.3, 1.81.4.4

kbk at users.sourceforge.net kbk at users.sourceforge.net
Wed Sep 22 06:52:35 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21018

Modified Files:
      Tag: release23-maint
	PyShell.py 
Log Message:
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


Index: PyShell.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/PyShell.py,v
retrieving revision 1.81.4.3
retrieving revision 1.81.4.4
diff -u -d -r1.81.4.3 -r1.81.4.4
--- PyShell.py	6 Jun 2004 17:41:41 -0000	1.81.4.3
+++ PyShell.py	22 Sep 2004 04:52:33 -0000	1.81.4.4
@@ -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



More information about the Python-checkins mailing list