[Python-Dev] Preventing recursion core dumps (original) (raw)
Vladimir Marangozov Vladimir.Marangozov@inrialpes.fr
Fri, 11 Aug 2000 14:39:36 +0200 (CEST)
- Previous message: [Python-Dev] Preventing recursion core dumps
- Next message: [Python-Dev] Preventing recursion core dumps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
It seems better to tune the generic check than to special-case str, repr, and getattr.
Right. This would be a step forward, at least for recursive Python code (which is the most common complaint). Reducing the current value by half, i.e. setting MAX_RECURSION_DEPTH = 5000 works for me (Linux & AIX)
Agreement on 5000?
Doesn't solve the problem for C code (extensions) though...
-- Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252
- Previous message: [Python-Dev] Preventing recursion core dumps
- Next message: [Python-Dev] Preventing recursion core dumps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]