From 4c6f668e3208808669313f3f0c3ede86c70b1709 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 12 Dec 2022 15:11:23 -0700 Subject: [PATCH] Move _Py_RefTotal to the ignore list (for now). --- Tools/c-analyzer/cpython/globals-to-fix.tsv | 5 +---- Tools/c-analyzer/cpython/ignored.tsv | 6 ++++++ 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 eb57f95abd17bb..78029f550a8437 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 - +# ################################## diff --git a/Tools/c-analyzer/cpython/ignored.tsv b/Tools/c-analyzer/cpython/ignored.tsv index b03198627f4248..c71fc0d958216c 100644 --- a/Tools/c-analyzer/cpython/ignored.tsv +++ b/Tools/c-analyzer/cpython/ignored.tsv @@ -142,6 +142,12 @@ Python/pylifecycle.c - runtime_initialized - 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