SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 146 Python

bpo-43974: Move Py_BUILD_CORE_MODULE into module code (GH-29157)

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>
C
Christian Heimes committed
03e9f5dc751b8c441a85f428abc3f432ffe46345
Parent: 86dfb55
Committed by GitHub <noreply@github.com> on 10/22/2021, 1:36:28 PM