weakrefs and bound methods

Alex Martelli aleax at mac.com
Sun Oct 7 21:55:29 CEST 2007

Mathias Panzenboeck <e0427417 at student.tuwien.ac.at> wrote:
> I only inserted them so I can see if the objects are really freed. How can
> I see that without a __del__ method?

You can use weakref.ref instances with finalizer functions - see the
long post I just made on this thread for a reasonably rich and complex


More information about the Python-list mailing list