]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Minor Cleanup of "Cross-interpreter" Code (gh-126457)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 7 Nov 2024 16:32:42 +0000 (09:32 -0700)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 16:32:42 +0000 (09:32 -0700)
commit9357fdcaf0b08dac9396c17e8695b420fad887f8
treef1c67448dae4cc2b116e7a3a01c9e464760dbaf1
parent3d9f9ae5a7c4739fe319aa436ab1834d6765b0ac
gh-76785: Minor Cleanup of "Cross-interpreter" Code (gh-126457)

The primary objective here is to allow some later changes to be cleaner. Mostly this involves renaming things and moving a few things around.

* CrossInterpreterData -> XIData
* crossinterpdatafunc -> xidatafunc
* split out pycore_crossinterp_data_registry.h
* add _PyXIData_lookup_t
15 files changed:
Include/internal/pycore_crossinterp.h
Include/internal/pycore_crossinterp_data_registry.h [new file with mode: 0644]
Include/internal/pycore_runtime_init.h
Makefile.pre.in
Modules/_interpchannelsmodule.c
Modules/_interpqueuesmodule.c
Modules/_interpreters_common.h
Modules/_interpretersmodule.c
Modules/_testinternalcapi.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/crossinterp.c
Python/crossinterp_data_lookup.h
Python/pystate.c
Tools/c-analyzer/cpython/_parser.py