Bug report
Bug description:
The PyVarObject data structure becomes opaque in abi3t. Unfortunately, there is no limited API functionality to provide access to elements of a PyVarObject.
The relevant functions PyObject_GetItemData() and PyObject_GetItemData_DuringGC() are marked as unstable.
It would be very important to fix this before Python 3.15 goes out, or any extensions using variable sized objects will be stranded.
CPython versions tested on:
3.15, CPython main branch
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
The
PyVarObjectdata structure becomes opaque inabi3t. Unfortunately, there is no limited API functionality to provide access to elements of aPyVarObject.The relevant functions
PyObject_GetItemData()andPyObject_GetItemData_DuringGC()are marked as unstable.It would be very important to fix this before Python 3.15 goes out, or any extensions using variable sized objects will be stranded.
CPython versions tested on:
3.15, CPython main branch
Operating systems tested on:
Linux
Linked PRs
PyObject_GetItemData()to the limited C API and stable ABI #148324