◐ Shell
clean mode source ↗

Message 299613 - Python tracker

> should the base method which calls tp_dealloc do this?  Maybe can kill all birds with one stone.

It may be possible, but unclear.
Object finalization process is very complicated.

I agree that UnTrack object as soon as refcnt=0, and Track only when
resurrected seems clearer.
But changing such basic object system needs carefully designed by expert.