mutable list iterators - a proposal

Jess Austin jaustin at post.harvard.edu
Tue Mar 16 04:06:28 EST 2004


aahz at pythoncraft.com (Aahz) wrote in message news:<c34ebq$9kv$1 at panix2.panix.com>...
> I'll guarantee that it won't be fixed for 2.4.  This subject has come up
> many times long before iterators were introduced, and the answer has
> always beent the same: if you want to mutate, make a copy or make *very*
> sure that your mutations don't muck the loop.

If this was hashed out so completely before iterators, I wonder if
iterators might make a different solution more plausible.  Such a
solution wouldn't have been considered since then, because, well, it
has already been hashed out.

> >I hope this isn't in conflict with any previous irrevocable
> >pronouncements.  b-)
> 
> Your hope is in vain.  ;-)

It usually is; still I hope.  b-)

Jess



More information about the Python-list mailing list