Skip to content

Py_TYPE and Py_REFCNT pre-3.14 #137

@da-woods

Description

@da-woods

Cython had a report from an abi3audit user over our use of these two macros.

My belief is this is another variation of #85 / #83.

The difference is that in earlier Python versions these macros are defined as a static inline function (and so are OK to use because they're embedded in the extension). In Py3.14 they've been converted to regular (non-inline) functions that are part of the Stable ABI. I think the fact that they've become part of the Stable ABI is causing them to get flagged on earlier versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions