]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 15 Nov 2022 16:45:11 +0000 (09:45 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2022 16:45:11 +0000 (09:45 -0700)
commit3c57971a2d3b6d2c6fd1f525ba2108fccb35add2
tree697c28707c62e43c9a444af3069304b8fad2e54b
parent73943cbc4c5e97f71b76150c549d07e8ed00066b
gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496)

This is the first of several changes to consolidate non-object globals in core code.

https://github.com/python/cpython/issues/81057
17 files changed:
Include/internal/pycore_dtoa.h
Include/internal/pycore_interp.h
Include/internal/pycore_pylifecycle.h
Include/internal/pycore_pymem.h
Include/internal/pycore_runtime.h
Include/internal/pycore_runtime_init.h
Modules/_tracemalloc.c
Modules/getbuildinfo.c
Objects/object.c
Objects/obmalloc.c
Parser/action_helpers.c
Python/dtoa.c
Python/getargs.c
Python/getversion.c
Python/pylifecycle.c
Tools/c-analyzer/cpython/globals-to-fix.tsv
Tools/c-analyzer/cpython/ignored.tsv