[issue43974] Define Py_BUILD_CORE_MODULE in extensions instead of setup.py and Modules/Setup

Christian Heimes report at bugs.python.org
Fri Oct 22 07:32:51 EDT 2021


Christian Heimes <lists at cheimes.de> added the comment:

The proposal is related to Brett's ticket bpo-45548. I no longer think that we should define Py_BUILD_CORE_MODULE unconditionally. Instead I propose to move the defines into each C module. This avoids duplication of macros in setup.py and Modules/Setup.

----------
components: +Extension Modules
nosy: +brett.cannon
title: setup.py should set Py_BUILD_CORE_MODULE as defined macro -> Define Py_BUILD_CORE_MODULE in extensions instead of setup.py and Modules/Setup
versions:  -Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43974>
_______________________________________


More information about the Python-bugs-list mailing list