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!


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to