[Zope] Persistent dictionaries

Andreas Jung Andreas Jung" <andreas@andreas-jung.com
Fri, 24 Aug 2001 06:15:16 -0400


I think you mean:

self._p_changed = 1

Andreas
----- Original Message ----- 
From: "Michael R. Bernstein" <webmaven@lvcm.com>
To: "Thomas Olsen" <tol@tanghus.dk>
Cc: <zope-cmf@zope.org>; <zope@zope.org>
Sent: Freitag, 24. August 2001 01:08
Subject: Re: [Zope] Persistent dictionaries


> 
> Unless I miss my guess, this is because Zope doesn't persist changes to
> mutable subobjects automatically. Dictionaries (like lists) are mutable
> types, so you need to inform the persistence machinery that something
> has changed:
> 
> self.__changed__(1)
> 
> Immutable properties, such as strings or tuples, don't have this
> requirement.
>