diff options
author | Victor Stinner <vstinner@python.org> | 2020-09-23 12:04:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 12:04:57 (GMT) |
commit | 19c3ac92bf73f1902cff846988552fd7bb8a8621 (patch) | |
tree | 67d42b5fe67c9c89f3ef018227b7dff150f1d7b4 /Tools | |
parent | ddc0dd001a4224274ba6f83568b45a1dd88c6fc6 (diff) | |
download | cpython-19c3ac92bf73f1902cff846988552fd7bb8a8621.zip cpython-19c3ac92bf73f1902cff846988552fd7bb8a8621.tar.gz cpython-19c3ac92bf73f1902cff846988552fd7bb8a8621.tar.bz2 |
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.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/c-analyzer/TODO | 1 | ||||
-rw-r--r-- | Tools/c-analyzer/known.tsv | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Tools/c-analyzer/TODO b/Tools/c-analyzer/TODO index 1134055..f5c1a92 100644 --- a/Tools/c-analyzer/TODO +++ b/Tools/c-analyzer/TODO @@ -66,7 +66,6 @@ Objects/tupleobject.c:_Py_tuple_zero_allocs Py_ssize_t _Py_ Objects/typeobject.c:next_version_tag static unsigned int next_version_tag Python/Python-ast.c:init_types():initialized static int initialized Python/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_dev; ino_t st_ino; } urandom_cache -Python/ceval.c:_Py_CheckRecursionLimit int _Py_CheckRecursionLimit Python/ceval.c:lltrace static int lltrace Python/ceval.c:make_pending_calls():busy static int busy Python/dynload_shlib.c:handles static struct { dev_t dev; ino_t ino; void *handle; } handles[128] diff --git a/Tools/c-analyzer/known.tsv b/Tools/c-analyzer/known.tsv index f92b45e..f8c12a3 100644 --- a/Tools/c-analyzer/known.tsv +++ b/Tools/c-analyzer/known.tsv @@ -805,7 +805,6 @@ Objects/iterobject.c - PyCallIter_Type variable PyTypeObject PyCallIter_Type Objects/capsule.c - PyCapsule_Type variable PyTypeObject PyCapsule_Type Objects/cellobject.c - PyCell_Type variable PyTypeObject PyCell_Type Objects/methodobject.c - PyCFunction_Type variable PyTypeObject PyCFunction_Type -Python/ceval.c - _Py_CheckRecursionLimit variable int _Py_CheckRecursionLimit Objects/descrobject.c - PyClassMethodDescr_Type variable PyTypeObject PyClassMethodDescr_Type Objects/funcobject.c - PyClassMethod_Type variable PyTypeObject PyClassMethod_Type Objects/codeobject.c - PyCode_Type variable PyTypeObject PyCode_Type |