SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 152 Python

bpo-41834: Remove _Py_CheckRecursionLimit variable (GH-22359)

Remove the global _Py_CheckRecursionLimit variable: it has been
replaced by ceval.recursion_limit of the PyInterpreterState
structure.

There is no need to keep the variable for the stable ABI, since
Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() were not usable
in Python 3.8 and older: these macros accessed PyThreadState members,
whereas the PyThreadState structure is opaque in the limited C API.
V
Victor Stinner committed
19c3ac92bf73f1902cff846988552fd7bb8a8621
Parent: ddc0dd0
Committed by GitHub <noreply@github.com> on 9/23/2020, 12:04:57 PM