On Fri, Jan 23, 2004 at 12:08:27PM -0500, Tim Peters wrote:
> >  def __del__(self):
> >      print "About to destroy: ", self.id

I don't know what your intention is there, but fwiw, if
what you're *really* interested in is the object being
marked for deletion in the ZODB, you can use:

    def manage_beforeDelete(self):
        print "About to destroy:", self.id


Paul Winkler
Look! Up in the sky! It's REPUBLICAN DOC!
(random hero from isometric.spaceninja.com)

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to