Commit 1f23e238 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Removed debugging output of exception raised by __reduce__ method.

parents 77a61d29 a8d83f5f
...@@ -1391,13 +1391,7 @@ class _Unpickler: ...@@ -1391,13 +1391,7 @@ class _Unpickler:
stack = self.stack stack = self.stack
args = stack.pop() args = stack.pop()
func = stack[-1] func = stack[-1]
try: stack[-1] = func(*args)
value = func(*args)
except:
print(sys.exc_info())
print(func, args)
raise
stack[-1] = value
dispatch[REDUCE[0]] = load_reduce dispatch[REDUCE[0]] = load_reduce
def load_pop(self): def load_pop(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment