<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div><span>Hooray! I could be a happy python oneliner now!</span><br></div><div><br></div><div class="ydp7f64cf29signature"><div style="font-size:16px;font-family:Helvetica, Arial, sans-serif;"><div><br> </div><div>Greetings.<br></div><div><br></div><div>ZHUO QL (KDr2, http://kdr2.com)<br></div><br></div></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_2194931916" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, July 12, 2018, 8:12:54 AM GMT+8, Guido van Rossum <guido@python.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv7643853591"><div dir="ltr"><div>As anticippated, after a final round of feedback I am hereby accepting PEP 572, Assignment Expressions: <a rel="nofollow" target="_blank" href="https://www.python.org/dev/peps/pep-0572/">https://www.python.org/dev/ peps/pep-0572/</a><br></div><div><br></div><div>Thanks to everyone who participated in the discussion or sent a PR.</div><div><br></div><div>Below is a list of changes since the last post (<a rel="nofollow" target="_blank" href="https://mail.python.org/pipermail/python-dev/2018-July/154557.html">https://mail.python.org/ pipermail/python-dev/2018- July/154557.html</a>) -- they are mostly cosmetic so I won't post the doc again, but if you want to go over them in detail, here's the history of the file on GitHub: <a rel="nofollow" target="_blank" href="https://github.com/python/peps/commits/master/pep-0572.rst">https://github.com/python/ peps/commits/master/pep-0572. rst</a>, and here's a diff since the last posting: <a rel="nofollow" target="_blank" href="https://github.com/python/peps/compare/26e6f61f...master">https://github.com/python/ peps/compare/26e6f61f...master</a> (sadly it's repo-wide -- you can click on Files changed and then navigate to pep-0572.rst).</div><div><ul>
<li>Tweaked the example at line 95-100 to use <code>result = ...</code> rather than <code>return ...</code> so as to make a different rewrite less feasible</li>
<li>Replaced the weak "2-arg iter" example with Giampaolo Roloda's <code>while chunk := file.read(8192): process(chunk)</code></li>
<li><b>Added prohibition of unparenthesized assignment expressions in annotations and lambdas</b></li><li>Clarified that <code>TargetScopeError</code> is a <i>new</i> subclass of <code>SyntaxError</code></li>
<li>Clarified the text forbidding assignment to comprehension loop control variables</li>
<li>Clarified that the prohibition on <code>:=</code> with annotation applies to <i>inline</i> annotation (i.e. they cannot be syntactically combined in the same expression)</li>
<li>Added conditional expressions to the things <code>:=</code> binds less tightly than</li>
<li>Dropped section "This could be used to create ugly code"</li>
<li>Clarified the example in Appendix C</li>
</ul>Now on to the implementation work! (Maybe I'll sprint on this at the core-dev sprint in September.)<br></div><div><br>-- <br><div class="yiv7643853591m_1068074662224319104gmail_signature">--Guido van Rossum (<a rel="nofollow" target="_blank" href="http://python.org/~guido">python.org/~guido</a>)</div>
</div></div></div>_______________________________________________<br>Python-Dev mailing list<br><a ymailto="mailto:Python-Dev@python.org" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br><a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/zhuoql%40yahoo.com" target="_blank">https://mail.python.org/mailman/options/python-dev/zhuoql%40yahoo.com</a><br></div>
            </div>
        </div></div></body></html>