Peter Bengtsson wrote:
So by using PersistentList it just means that you can use:
in your code. The attribute, self.alist, is still saved even without
PersistentList but it just means you have to be careful when writing
to it.

PersistentX classes also usually subclass Persistent which means they get their own pickle jar. This can slow ZODB growth if you have lots of "big" attributes but where only one of them regularly changes: make the changing one a PersistentWhatever instance.



Simplistix - Content Management, Zope & Python Consulting

Zope3-users mailing list

Reply via email to