diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-30 22:40:50 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-30 22:40:50 (GMT) |
commit | 723e296b3bd10592f9b916d47c74feb322946c67 (patch) | |
tree | d9e91f6bac41e0945cbee512a6ba1f7d8f1e2d9e /Lib/pickle.py | |
parent | fbc3e374a6b1856ca8e9041b9871d66126a1a1ab (diff) | |
parent | 1f23e238e8fa1e8968d3b6332b816c15742b2148 (diff) | |
download | cpython-723e296b3bd10592f9b916d47c74feb322946c67.zip cpython-723e296b3bd10592f9b916d47c74feb322946c67.tar.gz cpython-723e296b3bd10592f9b916d47c74feb322946c67.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 6c6602f..53978fb 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -1398,13 +1398,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): |