PEP 276 and future iteration PEPs
jamescalthoff at yahoo.com
Sun Dec 16 21:16:19 EST 2001
Thanks for your feedback.
I agree that the explicit index variable has some nice
advantages. I'll try to get some more PEP work going
in early January (I'm on vacation for a little while.
Alexis Layton wrote:
I also am in favor of the simple proposal submitted in
For future iteration PEPs, I think I would be more
of the index variable(s), as in
for i in 0 <= i < 5
as opposed to infering the loop variable as in
for 0 <= i < 5
But I would rather we had a broader class of integer
generator syntax such
as the much malinged [0 ... 5], especially if it can
generators. (or is that iterators? It's not really an
iterator until you
put it in a loop...).
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
More information about the Python-list