[ZODB-Dev] forgetting self._p_changed

hazmat hazmat@objectrealms.net
Mon, 10 Mar 2003 00:34:33 +0100


Thomas Guettler wrote:

>Hi!
>
>First Question: I develop a python product in zope which stores its
>data in ZODB. Sometimes I forget to set _p_changed, I remember that
>there you can set the transaction size to 1, so that you see this
>errors as soon as possible.
>  
>

no

>Second Question: I think it should be possible to change python, so it
>marks the lists and dictionaries as changed, so that you don't need to
>set _p_changed. I am not familiar with the details. What do you, the
>ZODB experts think about this?
>  
>
no. as was referred to by kasper, you might want to look at the 
ZODB.PersistentMapping and ZODB.PersistentList modules

-haz