On Aug 10, 7:09 pm, Steven Bethard <[EMAIL PROTECTED]> wrote: > There were also a few recipes posted during this discussion that wrap > weakrefs up a bit nicer so it's easier to use them in place of __del__: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/519635http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/519610http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/519621 > > Since they're using weakrefs, you shouldn't have to worry about some of > the weirdness of __del__. > > STeVe
Then I will mention my own contribution to the cookbook, which does not use weak references, but just atexit: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/523007 -- http://mail.python.org/mailman/listinfo/python-list