[Python-3000] Parallel iteration syntax (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 30 13:01:56 CEST 2006
- Previous message: [Python-3000] Iterators for dict keys, values, and items == annoying :)
- Next message: [Python-3000] Parallel iteration syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Giovanni Bajo wrote:
And what about the ambiguity in parsing:
for (x in iter1,y,z in iter2): ...
It would probably be necessary to require some parens there, e.g.
for (x in iter1, (y,z) in iter2): ...
-- Greg
- Previous message: [Python-3000] Iterators for dict keys, values, and items == annoying :)
- Next message: [Python-3000] Parallel iteration syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]