[Python-bugs-list] [ python-Bugs-756576 ] Recursion limit too high for MacOSX
SourceForge.net
noreply@sourceforge.net
Wed, 18 Jun 2003 06:01:06 -0700
Bugs item #756576, was opened at 2003-06-18 15:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=756576&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Recursion limit too high for MacOSX
Initial Comment:
Python's recursion limit is too high for Mac OS X, where the
default stack size is 512K. The attached script will never
trigger a maximum recursion depth exception, it will have
crashed Python with a segmentation violation before that.
A possible solution is a call to sys.setrecursionlimit() in
site.py, another is to change the number "1000" in ceval.c
to a configure-time constant.
Other platforms may also suffer this problem, it may be a
good idea to add a test_stackoverflow.
I'm willing to do the work involved, but I'd like some
feedback first.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=756576&group_id=5470