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
This commit is contained in:
Eric Snow 2022-12-12 16:51:27 -07:00 committed by GitHub
parent 5eb28bca9f
commit 0e081a089e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -302,10 +302,7 @@ Objects/sliceobject.c - _Py_EllipsisObject -
##################################
## global non-objects to fix in core code
##-----------------------
## state
Objects/object.c - _Py_RefTotal -
# <none>
##################################

Can't render this file because it has a wrong number of fields in line 4.

View File

@ -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

Can't render this file because it has a wrong number of fields in line 4.