]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35134: Move classobject.h to Include/cpython/ (GH-28968)
authorVictor Stinner <vstinner@python.org>
Fri, 15 Oct 2021 07:46:29 +0000 (09:46 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Oct 2021 07:46:29 +0000 (09:46 +0200)
commit8e5de40f90476249e9a2e5ef135143b5c6a0b512
tree4a4442049bd006be2760d8456c4bb6837f5d1db8
parent9ce9cfe595d64e3081e69de7296042cc54bccf18
bpo-35134: Move classobject.h to Include/cpython/ (GH-28968)

Move classobject.h, context.h, genobject.h and longintrepr.h header
files from Include/ to Include/cpython/.

Remove redundant "#ifndef Py_LIMITED_API" in context.h.

Remove explicit #include "longintrepr.h" in C files. It's not needed,
Python.h already includes it.
15 files changed:
Doc/whatsnew/3.11.rst
Include/Python.h
Include/cpython/classobject.h [moved from Include/classobject.h with 96% similarity]
Include/cpython/context.h [moved from Include/context.h with 99% similarity]
Include/cpython/genobject.h [moved from Include/genobject.h with 93% similarity]
Include/cpython/longintrepr.h [moved from Include/longintrepr.h with 100% similarity]
Makefile.pre.in
Misc/NEWS.d/next/C API/2021-10-15-00-11-51.bpo-35134.eX4zqy.rst
Modules/_decimal/_decimal.c
Objects/abstract.c
Objects/boolobject.c
Objects/longobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/marshal.c