[Zope-dev] Re: Refresh trashes acquisition

Ross Boylan RossBoylan@stanfordalumni.org
Sat, 10 Aug 2002 16:49:42 -0700


On Sat, Aug 10, 2002 at 10:25:32AM +0100, Chris Withers wrote:
> Ross Boylan wrote:
> >
> >That was just the first few lines of the class definition to give a
> >flavor.  Was your remark that it was wrong based on the assumption it
> >was the entire implementation, or is there something obviously wrong
> >with the part you see?
> 
> Nothing wrong with the visible parts, how did you implement the append 
> (and other) methods?
> 
> cheers,
> 
> Chris
> 
I didn't implement it, though I can't remember where I got it from.  I
think it's OK.  For example, here's append

    def append(self, item):
        self.data.append(item)
        self._p_changed = 1


I hope that's not a ZODB 2 ism also!