bpo-40217: Make heap types always visit Py_TYPE(self) from tp_traverse by encukou · Pull Request #20433 · python/cpython
This builds on top of @pablogsal's #20264, see discussion there.
See the proposed docs for what is changing.
There is a reference leak in test_interpreters that I haven't yet been able to track down.