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 <1619686946.42.0.670507836309.issue43974@roundup.psfhosted.org>
In-reply-to
Content
CPython's setup.py 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.
History
Date User Action Args
2021-04-29 09:02:26christian.heimessetrecipients: + christian.heimes, vstinner, pablogsal
2021-04-29 09:02:26christian.heimessetmessageid: <1619686946.42.0.670507836309.issue43974@roundup.psfhosted.org>
2021-04-29 09:02:26christian.heimeslinkissue43974 messages
2021-04-29 09:02:26christian.heimescreate