[Python-Dev] stack check on Unix: any suggestions?

Jeremy Hylton jeremy@beopen.com
Thu, 31 Aug 2000 16:47:39 -0400 (EDT)


I've just checked in Misc/find_recursionlimit.py that uses recursion
through various __ methods (.e.g __repr__) to generate infinite
recursion.  These tend to use more C stack frames that a simple
recursive function.

I've set the Python recursion_limit down to 2500, which is safe for
all tests in find_recursionlimit on my Linux box.  The limit can be
bumped back up, so I'm happy to have it set low by default.

Does anyone have a platform where this limit is no low enough?

Jeremy