Some Python 2.1 ideas

Peter Schneider-Kamp peter at
Sun Dec 24 11:43:36 CET 2000

Thomas Wouters wrote:
> On Sat, Dec 23, 2000 at 09:00:25AM -0800, Bob Alexander wrote:
> > Variations on "for"
> > Here are some possible additional forms of "for" that seem appealing:
> Funnily enough, I also implemented the 'indexing-for' almost-PEP (which was
> written by Just van Rossum, but not accepted as a PEP) which was rejected
> because of uhm, one reason or another. Mainly the Guido-line above. I have
> since considered proposing
>  for i in <x> .. <y>:
> (or perhaps three dots instead of two) as an alternative to the
> 'indexing-for' syntax, but I wanted to catch Guido in a sufficiently good
> mood to try it. And perhaps I should first have a public fight with Just,
> just so show that I'm not conspiring with him :-)

Can you detail the 'for i in <x> .. <y>' proposal? Maybe it's
something I could add as an alternative in PEP-0212 (loop
counter iteration).

Anyway, have a look at

merry-xmas-for-the-last-time-ly y'rs

More information about the Python-list mailing list