mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Remove sys.exc_type, sys.exc_value, sys.exc_traceback
This commit is contained in:
parent
fc85c92a85
commit
ac3625fcb9
16 changed files with 36 additions and 58 deletions
|
@ -83,7 +83,7 @@ class Server:
|
|||
method = getattr(self, methodname)
|
||||
reply = (None, apply(method, args), id)
|
||||
except:
|
||||
reply = (sys.exc_type, sys.exc_value, id)
|
||||
reply = (sys.exc_info()[:2], id)
|
||||
if id < 0 and reply[:2] == (None, None):
|
||||
if self._verbose > 1: print "Suppress reply"
|
||||
return 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue