mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
M PyShell.py
M rpc.py Improve exception handing if peer process has terminated.
This commit is contained in:
parent
98b15ab980
commit
9ac783d723
2 changed files with 6 additions and 1 deletions
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue