diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-30 22:39:45 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-30 22:39:45 (GMT) |
commit | 1f23e238e8fa1e8968d3b6332b816c15742b2148 (patch) | |
tree | 4a24bd2e27e7a7f6c3fe042a0fc233d2a8f3d62e /Lib/pickle.py | |
parent | 77a61d292aaeb94e63ef251d458540a5bdf655a9 (diff) | |
parent | a8d83f5fc99402c8d248242a1c156dabf5aa8168 (diff) | |
download | cpython-1f23e238e8fa1e8968d3b6332b816c15742b2148.zip cpython-1f23e238e8fa1e8968d3b6332b816c15742b2148.tar.gz cpython-1f23e238e8fa1e8968d3b6332b816c15742b2148.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 45fd383..7512787 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -1391,13 +1391,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): |