On Mon, Oct 17, 2016, at 13:32, Steven D'Aprano wrote:
> This isn't a small change: it requires not
> insignificant changes to people's understanding of what list
> comprehension syntax means and does.
Only if their understanding is limited to a sequence of tokens that it
supposedly expands to [except for all the little differences like
whether a variable actually exists] - like your argument that it should
just convert to a tuple because "yield x, y" happens to yield a tuple -
rather than actual operations with real semantic meaning.
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/