![](https://secure.gravatar.com/avatar/e572da4355c07804e3300bf879ffbe64.jpg?s=120&d=mm&r=g)
Oct. 18, 2011
4:57 a.m.
Steven D'Aprano <steve@pearwood.info> writes:
Your proposed syntax for tuple comprehensions:
(expr for x in iterable)
Syntax already used for generator expressions:
(expr for x in iterable)
More precisely, the parens are not part of the syntax for generator expressions. But the above syntax is a valid, paren-enclosed, generator expression; so the proposed syntax is indistinguishable from already-valid syntax that means something else in existing code. -- \ “We must respect the other fellow's religion, but only in the | `\ sense and to the extent that we respect his theory that his | _o__) wife is beautiful and his children smart.” —Henry L. Mencken | Ben Finney