[pypy-issue] [issue715] maximum recursion depth exceeded

Tanel Liiv tracker at bugs.pypy.org
Wed May 25 23:03:13 CEST 2011

Tanel Liiv <tanel at povi.ee> added the comment:

This is clarified in http://doc.pypy.org/en/latest/cpython_differences.html

"sys.setrecursionlimit() is ignored (and not needed) on PyPy. On CPython it
would set the maximum number of nested calls that can occur before a
RuntimeError is raised; on PyPy overflowing the stack also causes RuntimeErrors,
but the limit is checked at a lower level. (The limit is currently hard-coded at
768 KB, corresponding to roughly 1480 Python calls on Linux.)"

nosy: +kuratkull
status: unread -> wontfix

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list