bpo-35081: Move _PyGC_FINALIZED() back to C API by vstinner · Pull Request #10626 · python/cpython (original) (raw)

Partially revert commit 1a6be91, move back PyGC API from the internal API to the C API:

_PyObject_GC_TRACK(o) and _PyObject_GC_UNTRACK(o) remain in the internal API.