[pypy-svn] r61461 - pypy/trunk/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Fri Jan 30 16:11:21 CET 2009


Author: arigo
Date: Fri Jan 30 16:11:21 2009
New Revision: 61461

Modified:
   pypy/trunk/pypy/interpreter/pyopcode.py
Log:
Write equivalent (but much clearer) code.


Modified: pypy/trunk/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/trunk/pypy/interpreter/pyopcode.py	(original)
+++ pypy/trunk/pypy/interpreter/pyopcode.py	Fri Jan 30 16:11:21 2009
@@ -142,8 +142,8 @@
                 # raised after the exception handler block was popped.
                 try:
                     ec.bytecode_trace(self)
-                except OperationError, operr:
-                    pass
+                except OperationError, e:
+                    operr = e
             pytraceback.record_application_traceback(
                 self.space, operr, self, self.last_instr)
             if not we_are_jitted():



More information about the Pypy-commit mailing list