commit | a2a3cb23defa5e17a159982adac33e3dd58d8a93 | [log] [tgz] |
---|---|---|
author | Kurt B. Kaiser <kbk@shore.net> | Tue Dec 24 03:33:12 2002 +0000 |
committer | Kurt B. Kaiser <kbk@shore.net> | Tue Dec 24 03:33:12 2002 +0000 |
tree | 6b994e6e2673177a71752d80395c1176406b1e36 | |
parent | 11220fad1d7eee24f1d9809c6d5023875099cb37 [diff] |
IDLE should exit if it fails to connect with the execution server subprocess. Currently it opens a dead shell window.
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 @@ + ", 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)