Fabien Schwob wrote:

> for x in iter1 and y in iter2:

It would be tricky to avoid having that
parsed as

   for x in (iter1 and y in iter2):

since 'in' is also a valid part of an expression.
That's one of ther reasons I suggested parens
around the whole thing, which would make it
unambiguous.

The other reason was to try to make it look
more like parallel than nested iteration, but
it seems this is too subtle a clue for some
people.

--
Greg

_______________________________________________
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

Reply via email to