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 scoder
Recipients mark.dickinson, paul.moore, scoder, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2018-10-21.11:31:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> There's PyLong_GetInfo ...

Thanks, I understand that this information can be found at runtime. However, in order to correctly compile C code against a given CPython runtime, there needs to be a guarantee that extension module builds use the same configuration as the CPython build.

> Misconfiguration

I searched some more, and it looks like this was already reported almost ten years ago in issue4709.

The work-around there is to pass -DMS_WIN64, which apparently is not defined by MinGW but required by the CPython headers.
Date User Action Args
2018-10-21 11:31:55scodersetrecipients: + scoder, paul.moore, mark.dickinson, tim.golden, zach.ware, serhiy.storchaka, steve.dower
2018-10-21 11:31:55scodersetmessageid: <>
2018-10-21 11:31:55scoderlinkissue35037 messages
2018-10-21 11:31:55scodercreate