[Idle-dev] CVS: idle PyShell.py,1.46,1.47

Kurt B. Kaiser kbk@users.sourceforge.net
Mon, 23 Dec 2002 19:33:14 -0800


Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv3836

Modified Files:
	PyShell.py 
Log Message:
IDLE should exit if it fails to connect with the execution server
subprocess.  Currently it opens a dead shell window.


Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -r1.46 -r1.47
*** PyShell.py	24 Dec 2002 00:57:22 -0000	1.46
--- PyShell.py	24 Dec 2002 03:33:12 -0000	1.47
***************
*** 341,345 ****
          else:
              display_port_binding_error()
!             return
          # Accept the connection from the Python execution server
          self.rpcclt.accept()
--- 341,345 ----
          else:
              display_port_binding_error()
!             sys.exit()
          # Accept the connection from the Python execution server
          self.rpcclt.accept()