aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-09-23 14:04:57 +0200
committerGitHub <noreply@github.com>2020-09-23 14:04:57 +0200
commit19c3ac92bf73f1902cff846988552fd7bb8a8621 (patch)
tree67d42b5fe67c9c89f3ef018227b7dff150f1d7b4 /Tools
parentbpo-1635741, unicodedata: add ucd_type parameter to UCD_Check() macro (GH-22328) (diff)
downloadcpython-19c3ac92bf73f1902cff846988552fd7bb8a8621.tar.gz
cpython-19c3ac92bf73f1902cff846988552fd7bb8a8621.tar.bz2
cpython-19c3ac92bf73f1902cff846988552fd7bb8a8621.zip
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/TODO1
-rw-r--r--Tools/c-analyzer/known.tsv1
2 files changed, 0 insertions, 2 deletions
diff --git a/Tools/c-analyzer/TODO b/Tools/c-analyzer/TODO
index 1134055f9a8..f5c1a92f856 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 f92b45e5b4d..f8c12a3944d 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