]> granicus.if.org Git - python/commit
add user-modifiable recursion_limit
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 31 Aug 2000 19:23:01 +0000 (19:23 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 31 Aug 2000 19:23:01 +0000 (19:23 +0000)
commitee5adfbae6df9a4ae8d73bccc4f3a55b7f382d11
treeecbac10d7a319d2d655ad1ddffcfdb9b75c9c70b
parentc88b99ce060e37a9098708483b7e3c8b5db87fbd
add user-modifiable recursion_limit

ceval.c:
    define recurion_limit (static), default value is 2500
    define Py_GetRecursionLimit and Py_SetRecursionLimit
    raise RuntimeError if limit is exceeded
PC/config.h:
    remove plat-specific definition
sysmodule.c:
    add sys.(get|set)recursionlimit
Doc/lib/libsys.tex
PC/config.h
Python/ceval.c
Python/sysmodule.c