[Zope-dev] cPickleCache endless loop...

Paul Winkler pw_lists at slinkp.com
Fri Jan 23 15:59:15 EST 2004


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)



More information about the Zope-Dev mailing list