<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 27, 2017 at 1:18 PM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Chris Angelico wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The problem is that it depends on internal whitespace to<br>
distinguish it from augmented assignment;<br>
</blockquote>
<br></span>
Ah, didn't spot that. I guess the ellipsis is the next best<br>
thing then.<br>
<br>
An alternative would be to require parens:<br>
<br>
(x, y, *) = z<span class="m_1560389058573324957HOEnZb"><font color="#888888"></font></span><br></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">But that would have the same issue.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Is this problem really important enough that it requires dedicated syntax? Isn't the itertools-based solution good enough? (Or failing that, couldn't we add something to itertools to make it more readable rather than going straight to new syntax?)<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="m_1560389058573324957gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div>