]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45482: Rename namespaceobject.h to pycore_namespace.h (GH-28975)
authorVictor Stinner <vstinner@python.org>
Fri, 15 Oct 2021 13:21:21 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Oct 2021 13:21:21 +0000 (15:21 +0200)
commit354c35220d25a893e502014478f6739dad6897f3
treef9610f948f228ea37c1b5c8a7dd0dc0e2c8f7324
parenta7f8dfd25a167ccfde9996c499fa38a2aba60022
bpo-45482: Rename namespaceobject.h to pycore_namespace.h (GH-28975)

Rename Include/namespaceobject.h to
Include/internal/pycore_namespace.h.

The _testmultiphase extension is now built with the
Py_BUILD_CORE_MODULE macro defined to access _PyNamespace_Type.

object.c: remove unused "pycore_context.h" include.
14 files changed:
Include/Python.h
Include/internal/pycore_namespace.h [new file with mode: 0644]
Include/namespaceobject.h [deleted file]
Makefile.pre.in
Modules/_testcapimodule.c
Modules/_testmultiphase.c
Modules/timemodule.c
Objects/namespaceobject.c
Objects/object.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/import.c
Python/sysmodule.c
setup.py