[Python-Dev] stack check on Unix: any suggestions? (original) (raw)
Mark Favas m.favas@per.dem.csiro.au
Fri, 01 Sep 2000 05:04:48 +0800
- Previous message: [Python-Dev] stack check on Unix: any suggestions?
- Next message: [Python-Dev] stack check on Unix: any suggestions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/findrecursionlimit.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 recursionlimit down to 2500, which is safe for all tests in findrecursionlimit 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?
- Previous message: [Python-Dev] stack check on Unix: any suggestions?
- Next message: [Python-Dev] stack check on Unix: any suggestions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]