[ZODB-Dev] conflict resolution for PersistentList

Jeremy Hylton jeremy at alum.mit.edu
Mon May 24 09:28:33 EDT 2004


On Mon, 2004-05-24 at 09:20, Diez B. Roggisch wrote:
> Having a _p_resolveConflict on UserList didn't help me as it doesn't get 
> called, while having one at Parent gets called but contains the pickled 
> version as state - nothing I can work with.

I don't understand why an _p_resolveConflict on a PersistentList
subclass wouldn't be called.  (You do mean PersistentList instead of
UserList, right?)  That sounds like a bug.

class MyList(PersistentList):
    def _p_resolveConflict(...):
        pass # do something

Jeremy





More information about the ZODB-Dev mailing list