[Zope3-Users] What attributes are made persistent

Lennart Regebro regebro at gmail.com
Wed Feb 15 12:48:45 EST 2006


On 2/15/06, Peter Bengtsson <mail at peterbe.com> wrote:
> D'oh! That's confusing. Isn't there a class that gathers all of these in one.

All of who?

> It seems confusing, you derive from Persistent but only some are accepted.
> Does that mean that there's PersistentFloat and PersistentTuple too?

Because floats and tuples are not mutable. You can't change them, so
the don't need to know that they should be persisted when changed.

> If not, why *only* dicts?

There is also PersistentList.

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope3-users mailing list