Skip to content

RFC: (optionally) treat PyObject as an opaque struct using heap types for PEP 803 compliance #19479

@neutrinoceros

Description

@neutrinoceros

as reported in #19249 (comment),

All of the types that rely on extending PyObject statically will need to be updated to use heap types.

practically, this means all structs that use the PyObject_HEAD macros.
With the exception of IterParser, from utils/xml/src/iterparse.c, all the stuct in questions (13) live in wcs, and mostly in astropy_wcs.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions