_PyObject_IS_GC()
should not use PyType_HasFeature()
#124344
Labels
type-feature
A feature request or enhancement
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Proposal:
_PyObject_IS_GC()
is one of the most frequently used functions, which keeps usingPyType_HasFeature()
rather than_PyType_HasFeature()
.I know it has no performance issues since introduced, but switching to use
_PyType_HasFeature()
would make more sense:cc @vstinner
Linked PRs
_PyObject_IS_GC()
use underscoredPyType_IS_GC()
#124349The text was updated successfully, but these errors were encountered: