[pypy-svn] r10373 - pypy/branch/pypy-normalize-exception/interpreter
arigo at codespeak.net
arigo at codespeak.net
Wed Apr 6 20:31:28 CEST 2005
Author: arigo
Date: Wed Apr 6 20:31:28 2005
New Revision: 10373
Modified:
pypy/branch/pypy-normalize-exception/interpreter/pyframe.py
Log:
Simplification.
Modified: pypy/branch/pypy-normalize-exception/interpreter/pyframe.py
==============================================================================
--- pypy/branch/pypy-normalize-exception/interpreter/pyframe.py (original)
+++ pypy/branch/pypy-normalize-exception/interpreter/pyframe.py Wed Apr 6 20:31:28 2005
@@ -396,12 +396,7 @@
# exception handler (the code after the except:)
operationerr = unroller.args[0]
if frame.space.full_exceptions:
- try:
- operationerr.normalize_exception(frame.space)
- except OperationError, operationerr:
- # exception while normalizing the exception!
- # you get an exception, just not the one you might expect...
- operationerr.normalize_exception(frame.space)
+ operationerr.normalize_exception(frame.space)
# the stack setup is slightly different than in CPython:
# instead of the traceback, we store the unroller object,
# wrapped.
More information about the Pypy-commit
mailing list