summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-05-05 14:52:52 (GMT)
committerGitHub <noreply@github.com>2020-05-05 14:52:52 (GMT)
commit4e30ed3af06ae655f4cb8aad8cba21f341384250 (patch)
treebb32e34e7c6a587446b41fea6a8f7ffac8a0c6d9 /Python/errors.c
parent627f7012353411590434a7d5777ddcbcc8d97fcd (diff)
downloadcpython-4e30ed3af06ae655f4cb8aad8cba21f341384250.zip
cpython-4e30ed3af06ae655f4cb8aad8cba21f341384250.tar.gz
cpython-4e30ed3af06ae655f4cb8aad8cba21f341384250.tar.bz2
bpo-40513: Per-interpreter recursion_limit (GH-19929)
Move recursion_limit member from _PyRuntimeState.ceval to PyInterpreterState.ceval. * Py_SetRecursionLimit() now only sets _Py_CheckRecursionLimit of ceval.c if the current Python thread is part of the main interpreter. * Inline _Py_MakeEndRecCheck() into _Py_LeaveRecursiveCall(). * Convert _Py_RecursionLimitLowerWaterMark() macro into a static inline function.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions