]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-131238: Core header refactor (GH-131250)
authorMark Shannon <mark@hotpy.org>
Mon, 17 Mar 2025 09:19:04 +0000 (09:19 +0000)
committerGitHub <noreply@github.com>
Mon, 17 Mar 2025 09:19:04 +0000 (09:19 +0000)
commita1aeec61c4321ba9a6966109343bd88dcf9cb26a
treed2fa5ce55165df255559ec4a7b2fb1289e84f908
parent3ae67ba97e88d6f066a5b6f0c809f57fe4a1ecbe
GH-131238: Core header refactor (GH-131250)

* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h

* Removes many cross-header dependencies
57 files changed:
Include/cpython/code.h
Include/cpython/object.h
Include/internal/pycore_atexit.h
Include/internal/pycore_backoff.h
Include/internal/pycore_ceval_state.h
Include/internal/pycore_code.h
Include/internal/pycore_codecs.h
Include/internal/pycore_context.h
Include/internal/pycore_dtoa.h
Include/internal/pycore_fileutils.h
Include/internal/pycore_floatobject.h
Include/internal/pycore_function.h
Include/internal/pycore_gc.h
Include/internal/pycore_global_objects.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_hamt.h
Include/internal/pycore_import.h
Include/internal/pycore_index_pool.h
Include/internal/pycore_instruments.h
Include/internal/pycore_interp.h
Include/internal/pycore_interp_structs.h [new file with mode: 0644]
Include/internal/pycore_long.h
Include/internal/pycore_parser.h
Include/internal/pycore_pyhash.h
Include/internal/pycore_pymem.h
Include/internal/pycore_pystate.h
Include/internal/pycore_pythread.h
Include/internal/pycore_runtime.h
Include/internal/pycore_runtime_init.h
Include/internal/pycore_runtime_structs.h [new file with mode: 0644]
Include/internal/pycore_stackref.h
Include/internal/pycore_structs.h [new file with mode: 0644]
Include/internal/pycore_time.h
Include/internal/pycore_typeobject.h
Include/internal/pycore_unicodeobject.h
Include/internal/pycore_uniqueid.h
Include/internal/pycore_warnings.h
Makefile.pre.in
Modules/_codecsmodule.c
Modules/_cursesmodule.c
Modules/_tkinter.c
Objects/genobject.c
Objects/listobject.c
Objects/object.c
Objects/unicodeobject.c
Parser/pegen.c
Python/bootstrap_hash.c
Python/dtoa.c
Python/formatter_unicode.c
Python/initconfig.c
Python/instrumentation.c
Python/interpconfig.c
Python/intrinsics.c
Python/pylifecycle.c
Python/pystate.c
Python/suggestions.c
Tools/build/generate_global_objects.py