[storm] object lifecycle callbacks

Gustavo Niemeyer gustavo at niemeyer.net
Fri Oct 26 03:09:59 BST 2007


Hello Christopher,

> Is there somewhere I can find a list of object-lifecycle callbacks?
> Especially some sort of before_destroy hook.

When would that hook be called?  "Destroy" gives me the feeling of
deallocation.  If that's the case, the normal Python way to do it
still applies (__del__, or weakref callback).

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the storm mailing list