Maximum recursion depth

Istvan Albert ialbert at mailblocks.com
Mon Jul 12 16:37:25 EDT 2004


Sujit Marar wrote:


> This eems not a problem with Webware, but with
> Python2.3 KIt
> Can anyone tell me

import sys
print sys.getrecursionlimit()

will tell you this limit. On my system is 1000.
You can set it with:

sys.setrecursionlimit(new_limit)

But you need to wonder why you Webware exceeded it
in the first place...

Istvan




More information about the Python-list mailing list