Skip to content

Variable sized Python objects become fully opaque in abi3t #148325

@wjakob

Description

@wjakob

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions