A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/009036.html below:

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

[Python-Dev] stack check on Unix: any suggestions? [Python-Dev] stack check on Unix: any suggestions?Mark Favas m.favas@per.dem.csiro.au
Fri, 01 Sep 2000 05:04:48 +0800
Compaq/DEC/OSF1/Tru64 Unix, default stacksize 2048k:
I get "Limit of 2100 is fine" before stack overflow and segfault.
(On Guido's test script, I got 3532 before crashing, and 6225 on MAL's
test).

Mark

Jeremy Hylton wrote:
> 
> 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?



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4