New submission from Ronald Oussoren :
The documentation for PyType_Spec and the related functions is not clear about
the required lifetime of fields of PyType_Spec.
In particular, PyType_Spec.name must remain valid for the entire lifetime of
types created with PyType_FromSpec*. The document
Ronald Oussoren added the comment:
I just noticed this duplicates #45315, sorry about the noise.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> `PyType_FromSpec` does not copy the name
___
Python tracker