[Zope3-Users] What attributes are made persistent

Chris Withers chris at simplistix.co.uk
Wed Feb 15 03:41:35 EST 2006


Peter Bengtsson wrote:
>>> self.queue seem is empty each time I restart Zope.
>> That's because dictionaries are not derived from Persistent. Try PersistentDict.
>>
> D'oh! That's confusing. Isn't there a class that gathers all of these in one.

Urm, Peter, the rules of persistence w.r.t. mutable objects have been 
documented for a _long_ time. There's nothing Zope 3-specific here, and 
someone who's been using Zope as long as you should know better ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope3-users mailing list