[pypy-svn] r28941 - pypy/dist/pypy/module/_stackless

pedronis at codespeak.net pedronis at codespeak.net
Mon Jun 19 14:05:45 CEST 2006


Author: pedronis
Date: Mon Jun 19 14:05:44 2006
New Revision: 28941

Modified:
   pypy/dist/pypy/module/_stackless/coroutine.py
Log:
avoid attributes to move up in the hierarchy



Modified: pypy/dist/pypy/module/_stackless/coroutine.py
==============================================================================
--- pypy/dist/pypy/module/_stackless/coroutine.py	(original)
+++ pypy/dist/pypy/module/_stackless/coroutine.py	Mon Jun 19 14:05:44 2006
@@ -94,7 +94,7 @@
 
     def finish(self, operror=None):
         space = self.space
-        if operror is not None:
+        if isinstance(operror, OperationError):
             w_exctype = operror.w_type
             w_excvalue = operror.w_value
             w_exctraceback = operror.application_traceback



More information about the Pypy-commit mailing list