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.
as reported in #19249 (comment),
practically, this means all structs that use the
PyObject_HEADmacros.With the exception of
IterParser, fromutils/xml/src/iterparse.c, all the stuct in questions (13) live inwcs, and mostly inastropy_wcs.