[ZODB-Dev] Tracking down a freeze (deadlock?)

Jim Fulton jim at zope.com
Mon Mar 7 12:52:14 EST 2005


Dieter Maurer wrote:
> Tim Peters wrote at 2005-3-4 14:45 -0500:
> 
>>...
> 
> [DM]
> 
>>>The ZODB documentation promisses minimal requirements to make Python
>>>classes persistent. It does *NOT* list that "__del__" must not be used.
>>
>>I'm not sure which docs you have in mind, but I'm sure that indeed none of
>>them say this.  If we decide to disallow __del__, I'm equally unsure of
>>where to document it so that people would see it.
> 
> 
> I have read the "ZODB3.{pdf,html}" documentation on "zope.org"
> and Andrew's ZODB tutorial.
> 
> I think both of them should get a warning: do not use "__del__".

Agreed. Let's smeone add this to the rules of persistence.

BTW, I ran into a similar problem when working on fixing
ZClassesd for 2.8.  I change the way invalidations are handled
in a way that will probably fix this problem. :)

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the ZODB-Dev mailing list