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.
V
Victor Stinner committed
4e30ed3af06ae655f4cb8aad8cba21f341384250
Parent: 627f701
Committed by GitHub <noreply@github.com>
on 5/5/2020, 2:52:52 PM