Removed debugging output of exception raised by __reduce__ method.

This commit is contained in:
Serhiy Storchaka 2015-12-01 00:40:50 +02:00
commit 723e296b3b
1 changed files with 1 additions and 7 deletions

View File

@ -1398,13 +1398,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):