diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-30 22:39:25 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-30 22:39:25 (GMT) |
commit | a8d83f5fc99402c8d248242a1c156dabf5aa8168 (patch) | |
tree | ef1fb3fa5a1cec85c2942073fd65d90d0ee9dd41 /Lib/pickle.py | |
parent | ca28eba3d3656bab394f846f9357227d227059ec (diff) | |
download | cpython-a8d83f5fc99402c8d248242a1c156dabf5aa8168.zip cpython-a8d83f5fc99402c8d248242a1c156dabf5aa8168.tar.gz cpython-a8d83f5fc99402c8d248242a1c156dabf5aa8168.tar.bz2 |
Removed debugging output of exception raised by __reduce__ method.
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r-- | Lib/pickle.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index d05316e..3b13984 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -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): |