[pypy-svn] r73165 - pypy/trunk/pypy/rlib

benjamin at codespeak.net benjamin at codespeak.net
Tue Mar 30 16:17:37 CEST 2010


Author: benjamin
Date: Tue Mar 30 16:17:35 2010
New Revision: 73165

Modified:
   pypy/trunk/pypy/rlib/rstackovf.py
Log:
CPython can sometimes raise an AttributeError in recursion situations

Modified: pypy/trunk/pypy/rlib/rstackovf.py
==============================================================================
--- pypy/trunk/pypy/rlib/rstackovf.py	(original)
+++ pypy/trunk/pypy/rlib/rstackovf.py	Tue Mar 30 16:17:35 2010
@@ -13,7 +13,7 @@
 _StackOverflow = StackOverflow
 
 # replace StackOverflow with this, which works in untranslated code too
-StackOverflow = ((RuntimeError, RuntimeError),)
+StackOverflow = ((RuntimeError, AttributeError),)
 
 
 def check_stack_overflow(e):



More information about the Pypy-commit mailing list