[Zope] manage_beforeDelete

John Sutherland garion@garion.mnb.tzo.net
Mon, 24 Apr 2000 09:05:59 -0400


In an effort to know when an instance deleted of my class, and not just when
the reference count equal's zero, I did some digging in the Zope code, and
found that if I create a function called manage_beforeDelete, this does
exactly what I need.. It gets called before before the object gets deleted
from Zope..

Now question is, is this safe to do, overriding this function? I wouldn't
want to corrupt ZODB or whatever... Anyone have an opinion on this?