]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-81057: Move Global Variables Holding Objects to _PyRuntimeState. (gh-99487)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 14 Nov 2022 20:50:56 +0000 (13:50 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 20:50:56 +0000 (13:50 -0700)
commita088290f9d53a6bd078de6ee67b2fa296fc1cc14
treecd464c7ed31b1fd4ea145eaa8cb073a7fac70985
parent619cadcda6a8ba4a038c1807b6566a90e25db934
gh-81057: Move Global Variables Holding Objects to _PyRuntimeState. (gh-99487)

This moves nearly all remaining object-holding globals in core code (other than static types).

https://github.com/python/cpython/issues/81057
Include/internal/pycore_global_objects.h
Include/internal/pycore_runtime.h
Include/internal/pycore_runtime_init.h
Include/internal/pycore_typeobject.h
Objects/typeobject.c
Parser/asdl_c.py
Python/Python-ast.c
Python/ast_unparse.c
Tools/c-analyzer/cpython/globals-to-fix.tsv
Tools/c-analyzer/cpython/ignored.tsv