> > 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): > ...
I've also a proposition, but I don't know if it can't be done since I don't know how Python works internally : for x in iter1 and y in iter2: ... for x in iter1 and y,z in iter2: ... -- Fabien _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com