https://github.com/python/cpython
Revision 03e9f5dc751b8c441a85f428abc3f432ffe46345 authored by Christian Heimes on 22 October 2021, 13:36:28 UTC, committed by GitHub on 22 October 2021, 13:36:28 UTC
setup.py no longer defines Py_BUILD_CORE_MODULE. Instead every
module defines the macro before #include "Python.h" unless
Py_BUILD_CORE_BUILTIN is already defined.

Py_BUILD_CORE_BUILTIN is defined for every module that is built by
Modules/Setup.

The PR also simplifies Modules/Setup. Makefile and makesetup
already define Py_BUILD_CORE_BUILTIN and include Modules/internal
for us.

Signed-off-by: Christian Heimes <christian@python.org>
1 parent 86dfb55
History
Tip revision: 03e9f5dc751b8c441a85f428abc3f432ffe46345 authored by Christian Heimes on 22 October 2021, 13:36:28 UTC
bpo-43974: Move Py_BUILD_CORE_MODULE into module code (GH-29157)
Tip revision: 03e9f5d
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.editorconfig -rw-r--r-- 181 bytes
.gitattributes -rw-r--r-- 2.1 KB
.gitignore -rw-r--r-- 2.1 KB
.travis.yml -rw-r--r-- 6.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 76.0 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 22.3 KB
config.guess -rwxr-xr-x 48.3 KB
config.sub -rwxr-xr-x 33.6 KB
configure -rwxr-xr-x 515.6 KB
configure.ac -rw-r--r-- 176.2 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 45.1 KB
setup.py -rw-r--r-- 112.6 KB

README.rst

back to top