summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-30 22:40:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-30 22:40:50 (GMT)
commit723e296b3bd10592f9b916d47c74feb322946c67 (patch)
treed9e91f6bac41e0945cbee512a6ba1f7d8f1e2d9e /Lib/pickle.py
parentfbc3e374a6b1856ca8e9041b9871d66126a1a1ab (diff)
parent1f23e238e8fa1e8968d3b6332b816c15742b2148 (diff)
downloadcpython-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.py8
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):