mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Removed debugging output of exception raised by __reduce__ method.
This commit is contained in:
parent
ca28eba3d3
commit
a8d83f5fc9
1 changed files with 1 additions and 7 deletions
|
@ -1388,13 +1388,7 @@ class _Unpickler:
|
|||
stack = self.stack
|
||||
args = stack.pop()
|
||||
func = stack[-1]
|
||||
try:
|
||||
value = func(*args)
|
||||
except:
|
||||
print(sys.exc_info())
|
||||
print(func, args)
|
||||
raise
|
||||
stack[-1] = value
|
||||
stack[-1] = func(*args)
|
||||
dispatch[REDUCE[0]] = load_reduce
|
||||
|
||||
def load_pop(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue