This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, pablogsal, vstinner
Date 2021-04-29.09:02:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
CPython's contains lots of

  extra_compile_args = ['-DPy_BUILD_CORE_MODULE']

to mark modules as core module. Extra compiler args is the wrong option. It's also tedious and err-prone to define the macro in each and every Extension() class instance.

The compiler flag should be set automatically for all core extensions and it should use be set using the correct option define_macros.
Date User Action Args
2021-04-29 09:02:26christian.heimessetrecipients: + christian.heimes, vstinner, pablogsal
2021-04-29 09:02:26christian.heimessetmessageid: <>
2021-04-29 09:02:26christian.heimeslinkissue43974 messages
2021-04-29 09:02:26christian.heimescreate