Maximum recursion depth in python

Aahz Maruch aahz at panix.com
Thu Nov 2 12:15:31 EST 2000


In article <3a018dad at news.edunet.ru>,  <lg at rgz.ru> wrote:
>
>What is the Maximum value of recursion depth?

IIRC, it's normally 10,000.  Under some circumstances, it can be lower
than that if you blow up huge quantities of stack.  I believe that
Stackless Python has no recursion limits.
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"I have the heart of a child.  I keep it in a jar on my desk."  --Robert Bloch



More information about the Python-list mailing list