RE: [python-iter] Digest Number 30
> > From: Guido van Rossum <guido@...>Greg Wilson:
> > Subject: Shall I start adding iterators to Python 2.2?
> > I've got a fairly complete implementation of iterators along the lines
> > of Ping's PEP (slightly updated).
> > My question is: should I just merge this code onto the trunk (making
> > it part of 2.2), or should we review the design more before committing
> > to this implementation?
> From: "Tim Peters" <tim.one@...>
> My answer is both!
I second the motion.
> I bet Greg Wilson would like it for his Set PEP workYup. Being able to iterate directly over a dictionary's keys w/out
> too, as abusing the __getitem__ protocol for set iteration is
> giving him headaches.
listifying will make things more efficient, as well.