commit | 19c3ac92bf73f1902cff846988552fd7bb8a8621 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Sep 23 14:04:57 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Sep 23 14:04:57 2020 +0200 |
tree | 67d42b5fe67c9c89f3ef018227b7dff150f1d7b4 | |
parent | ddc0dd001a4224274ba6f83568b45a1dd88c6fc6 [diff] |
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.