Loading ...
Sorry, an error occurred while loading the content.

RE: [python-iter] Digest Number 30

Expand Messages
  • Greg Wilson
    ... Greg Wilson: I second the motion. ... Yup. Being able to iterate directly over a dictionary s keys w/out listifying will make things more efficient, as
    Message 1 of 1 , Apr 20 5:13 AM
    • 0 Attachment
      > > From: Guido van Rossum <guido@...>
      > > 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!

      Greg Wilson:
      I second the motion.

      > I bet Greg Wilson would like it for his Set PEP work
      > too, as abusing the __getitem__ protocol for set iteration is
      > giving him headaches.

      Yup. Being able to iterate directly over a dictionary's keys w/out
      listifying will make things more efficient, as well.

      Thanks
      Greg
    Your message has been successfully submitted and would be delivered to recipients shortly.