bpo-40170: PyType_HasFeature() now always calls PyType_GetFlags() (GH-19378)
PyType_HasFeature() now always calls PyType_GetFlags() to hide implementation details. Previously, it accessed directly the PyTypeObject.tp_flags member when the limited C API was not used. Add fast inlined version _PyType_HasFeature() and _PyType_IS_GC() for object.c and typeobject.c.
V
Victor Stinner committed
45ec5b99aefa54552947049086e87ec01bc2fc9a
Parent: ef5c615
Committed by GitHub <noreply@github.com>
on 4/7/2020, 11:42:27 PM