[Zope-Coders] Fw: [Zope] sessions and zope2.6.0

Chris McDonough chrism@zope.com
22 Oct 2002 12:04:33 -0400


On Tue, 2002-10-22 at 11:47, Tim Peters wrote:
> Brrr.  Mutating an object *while* iterating over it is always dicey at best.
> Note that data.keys() doesn't produce a distinct list of keys for an XYBTree
> or XYTreeSet, it produces a tiny iterator object with pointers *into* data's
> internals. If data mutates, the pointers into data held by the iterator
> aren't magically updated to match.

Doh!  Thanks, Tim.  I should have known this.

> If the problems go away, then read this msg again from the top but for real
> the second time around <wink>.

We'll give it a shot.

Thanks again,

- C