Showing content from http://mail.python.org/pipermail/python-dev/attachments/20150429/d3c38e97/attachment-0001.html below:
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 29, 2015 at 3:46 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 class="">Yury Selivanov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm not sure<br>
why Greg is pushing his Grammar idea so aggressively.<br>
</blockquote>
<br></span>
Because I believe that any extra complexity in the grammar<br>
needs a very strong justification. It's complexity in the<br>
core language, like a new keyword, so it puts a burden on<br>
everyone's brain.<br>
<br>
Saying "I don't think anyone would ever need to write this,<br>
therefore we should disallow it" is not enough, given that<br>
there is a substantial cost to disallowing it.<br>
<br>
If you don't think there's a cost, consider that we *both*<br>
seem to be having trouble predicting the consequences of<br>
your proposed syntax, and you're the one who invented it.<br>
That's not a good sign!<span class="HOEnZb"><font color="#888888"></font></span><br clear="all"></blockquote></div><br></div><div class="gmail_extra">I have a slightly different view. A bunch of things *must* work, e.g. f(await g(), await h()) or with await f(): (there's a longer list in the PEP). Other things may be ambiguous to most readers, e.g. what does await f() + g() mean, or can we say await await f(), and the solution is to recommend adding parentheses that make things clear to the parser *and* humans. Yury's proposal satisfies my requirements, and if we really find some unpleasant edge case we can fix it during the 3.5 release (the PEP will be provisional).<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4