[Python-ideas] Fwd: Fwd: unpacking generalisations for list comprehension
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Oct 14 03:11:57 EDT 2016
אלעזר wrote:
> I think it is an unfortunate accident of syntax, the use of "yield from
> foo()" instead of "yield *foo()".
I think that was actually discussed back when yield-from
was being thrashed out, but as far as I remember we didn't
have * in list displays then, so the argument for it was
weaker. If we had, it might have been given more serious
consideration.
--
Greg
More information about the Python-ideas
mailing list