Greg Ewing <[EMAIL PROTECTED]> wrote:
>> for i,(x,y) in enumerate(izip(iter1, iter2)):
>> ...
>>
>> must be translated to:
>>
>> for (i,x in enumerate(iter1), y in iter2):
>
> Maybe the functionality of enumerate() could be
> incorporated into the syntax as well.
>
> for (i in *, x in iter1, y in iter2):
> ...
And what about the ambiguity in parsing:
for (x in iter1,y,z in iter2):
...
Giovanni Bajo
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com