summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/rpc.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-03-10 20:42:24 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-03-10 20:42:24 (GMT)
commit9ac783d723bda15a34218ebb2037b60e521c3248 (patch)
tree90c00d06522d740106c201522f851e3ac085cce0 /Lib/idlelib/rpc.py
parent98b15ab980aacc317779ce1f9af8da135981b01b (diff)
downloadcpython-9ac783d723bda15a34218ebb2037b60e521c3248.zip
cpython-9ac783d723bda15a34218ebb2037b60e521c3248.tar.gz
cpython-9ac783d723bda15a34218ebb2037b60e521c3248.tar.bz2
M PyShell.py
M rpc.py Improve exception handing if peer process has terminated.
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r--Lib/idlelib/rpc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index 54455a2..2939f5f 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -166,6 +166,8 @@ class SocketIO:
return ("OK", ret)
except SystemExit:
raise
+ except socket.error:
+ pass
except:
self.debug("localcall:EXCEPTION")
traceback.print_exc(file=sys.__stderr__)