mirror of https://github.com/python/cpython
IDLE should exit if it fails to connect with the execution server
subprocess. Currently it opens a dead shell window.
This commit is contained in:
parent
11220fad1d
commit
a2a3cb23de
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue