Michael Hudson wrote:
And if we want to have a version of __del__ that can't reference 'self', we have it already: weakrefs with callbacks.
Does that actually work at the moment? Last I heard, there was some issue with gc and weakref callbacks as well. Has that been resolved?