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 2022-03-03.21:15:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646342125.75.0.0439874391605.issue46915@roundup.psfhosted.org>
In-reply-to
Content
Extension modules with bare "#define Py_LIMITED_API" without version fail to build with error:

   moduleobject.h:82:3: error: unknown type name ‘PyModuleDef_Slot’

The issue was introduced in PR GH-31528 and bpo-45459. The type PyModuleDef_Slot is only defined when Py_LIMITED_API is set to Python 3.5.0 or higher.
History
Date User Action Args
2022-03-03 21:15:25christian.heimessetrecipients: + christian.heimes, vstinner, pablogsal
2022-03-03 21:15:25christian.heimessetmessageid: <1646342125.75.0.0439874391605.issue46915@roundup.psfhosted.org>
2022-03-03 21:15:25christian.heimeslinkissue46915 messages
2022-03-03 21:15:25christian.heimescreate