[Python-ideas] How assignment should work with generators?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 27 16:18:50 EST 2017

Chris Angelico wrote:
> The problem is that it depends on internal whitespace to
> distinguish it from augmented assignment;

Ah, didn't spot that. I guess the ellipsis is the next best
thing then.

An alternative would be to require parens:

    (x, y, *) = z


More information about the Python-ideas mailing list