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
http://www.slinkp.com
Look! Up in the sky! It's REPUBLICAN DOC!
(random hero from isometric.spaceninja.com)

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

Reply via email to