New submission from Christian Heimes <li...@cheimes.de>: 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. ---------- assignee: christian.heimes components: Build, Interpreter Core keywords: 3.11regression messages: 414473 nosy: christian.heimes, pablogsal, vstinner priority: release blocker severity: normal status: open title: Build with Py_LIMITED_API fails unknown type name ‘PyModuleDef_Slot’ type: compile error versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com