[Patches] [Patch #101380] sys.(get|set)recursionlimit

noreply@sourceforge.net noreply@sourceforge.net
Thu, 31 Aug 2000 10:42:55 -0700


Patch #101380 has been updated. 

Project: 
Category: core (C code)
Status: Open
Summary: sys.(get|set)recursionlimit

Follow-Ups:

Date: 2000-Aug-31 10:39
By: jhylton

Comment:
I also have a script find_limit.py that tries executes a bunch of different infinite recursion tests.  It could be included in Misc to let people find the right value for their platform.

The limit of 2500 is a bit conservative, but it's based on a recursive repr function that crashes after 2900 calls on my Linux box.  The other tests seems to survive up to 9100.


-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101380&group_id=5470