summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-12 23:51:27 (GMT)
committerGitHub <noreply@github.com>2022-12-12 23:51:27 (GMT)
commit0e081a089ec969c9a34f5ff25886205616ef4dd3 (patch)
tree773cb27cebca4fea711986902fdcac7fccb1b4f4 /Tools
parent5eb28bca9fc963607189e3b3e1403f341dbf640a (diff)
downloadcpython-0e081a089ec969c9a34f5ff25886205616ef4dd3.zip
cpython-0e081a089ec969c9a34f5ff25886205616ef4dd3.tar.gz
cpython-0e081a089ec969c9a34f5ff25886205616ef4dd3.tar.bz2
gh-81057: Move _Py_RefTotal to the "Ignored Globals" List (gh-100203)
We can't move it to _PyRuntimeState because the symbol is exposed in the stable ABI. We'll have to sort that out before a per-interpreter GIL, but it shouldn't be too hard. https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Tools')
-rw-r--r--Tools/c-analyzer/cpython/globals-to-fix.tsv5
-rw-r--r--Tools/c-analyzer/cpython/ignored.tsv6
2 files changed, 7 insertions, 4 deletions
diff --git a/Tools/c-analyzer/cpython/globals-to-fix.tsv b/Tools/c-analyzer/cpython/globals-to-fix.tsv
index fcec95b..479221c 100644
--- a/Tools/c-analyzer/cpython/globals-to-fix.tsv
+++ b/Tools/c-analyzer/cpython/globals-to-fix.tsv
@@ -302,10 +302,7 @@ Objects/sliceobject.c - _Py_EllipsisObject -
##################################
## global non-objects to fix in core code
-##-----------------------
-## state
-
-Objects/object.c - _Py_RefTotal -
+# <none>
##################################
diff --git a/Tools/c-analyzer/cpython/ignored.tsv b/Tools/c-analyzer/cpython/ignored.tsv
index b031986..c71fc0d 100644
--- a/Tools/c-analyzer/cpython/ignored.tsv
+++ b/Tools/c-analyzer/cpython/ignored.tsv
@@ -143,6 +143,12 @@ Modules/syslogmodule.c - S_ident_o -
Modules/syslogmodule.c - S_log_open -
##-----------------------
+## kept for stable ABI compatibility
+
+# XXX should be per-interpreter, without impacting stable ABI extensions
+Objects/object.c - _Py_RefTotal -
+
+##-----------------------
## one-off temporary state
# used during runtime init