diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2002-12-24 03:33:12 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2002-12-24 03:33:12 (GMT) |
commit | a2a3cb23defa5e17a159982adac33e3dd58d8a93 (patch) | |
tree | 6b994e6e2673177a71752d80395c1176406b1e36 /Lib/idlelib/PyShell.py | |
parent | 11220fad1d7eee24f1d9809c6d5023875099cb37 (diff) | |
download | cpython-a2a3cb23defa5e17a159982adac33e3dd58d8a93.zip cpython-a2a3cb23defa5e17a159982adac33e3dd58d8a93.tar.gz cpython-a2a3cb23defa5e17a159982adac33e3dd58d8a93.tar.bz2 |
IDLE should exit if it fails to connect with the execution server
subprocess. Currently it opens a dead shell window.
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index d89802c..e3605ac 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -340,7 +340,7 @@ class ModifiedInterpreter(InteractiveInterpreter): + ", retrying..." else: display_port_binding_error() - return + sys.exit() # Accept the connection from the Python execution server self.rpcclt.accept() self.rpcclt.register("stdin", self.tkconsole) |