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

pedronis at codespeak.net pedronis at codespeak.net
Wed Nov 25 08:49:45 CET 2009


Author: pedronis
Date: Wed Nov 25 08:49:44 2009
New Revision: 69624

Modified:
   pypy/trunk/pypy/interpreter/executioncontext.py
Log:
this was a local change that got mixed in a merge, yesterday was not a good day

Modified: pypy/trunk/pypy/interpreter/executioncontext.py
==============================================================================
--- pypy/trunk/pypy/interpreter/executioncontext.py	(original)
+++ pypy/trunk/pypy/interpreter/executioncontext.py	Wed Nov 25 08:49:44 2009
@@ -11,9 +11,6 @@
                         space.wrap(frame),
                         space.wrap(event), w_arg)
 
-class FrameChainMismatch(Exception):
-    pass
-
 class ExecutionContext(object):
     """An ExecutionContext holds the state of an execution thread
     in the Python interpreter."""
@@ -145,11 +142,6 @@
         #assert frame is self.gettopframe() --- slowish
         if self.some_frame is frame:
             self.some_frame = frame.f_back_some
-            if self.some_frame and self.some_frame.f_forward:
-                if self.some_frame.f_forward is frame:
-                    # and anything that actually goes forward from there,
-                    # but this is both inefficient and breaks tests
-                    raise FrameChainMismatch()
         else:
             f_back = frame.f_back()
             if f_back is not None:



More information about the Pypy-commit mailing list