[New-bugs-announce] [issue46915] Build with Py_LIMITED_API fails unknown type name ‘PyModuleDef_Slot’
Christian Heimes
report at bugs.python.org
Thu Mar 3 16:15:25 EST 2022
New submission from Christian Heimes <lists at 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 <report at bugs.python.org>
<https://bugs.python.org/issue46915>
_______________________________________
More information about the New-bugs-announce
mailing list