<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 26, 2015 at 6:55 PM, Brendan Barnwell <span dir="ltr"><<a href="mailto:brenbarn@brenbarn.net" target="_blank">brenbarn@brenbarn.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-08-26 12:53, Mike Miller wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We've already acquiesced to arbitrary expressions, so this is a small further<br>
step, icing on the cake, no? I believe Guido mentioned something about<br>
"half-measures" in one of his messages.<br>
</blockquote>
<br></span>
There's no comparison between "arbitrary expressions" and "new syntax for shell shortcuts". "Arbitrary expressions" are arbitrary Python expressions, so that just means being able to do what you can already do in Python, with Python syntax, in Python strings. This includes being able to access environment variables, since you can already do that with a Python expression. These shell shortcuts are just a way to open a back door that would bring all of shell syntax into Python, and add new complications to Python's own syntax as well. I see quick-and-dirty shell scripting as pretty small potatoes in the scheme of things Python can be used for; it's not worth changing the language in any significant way to a accommodate that.<span class="HOEnZb"><font color="#888888"></font></span><br></blockquote></div><br></div><div class="gmail_extra">I am more and more beginning to believe that Mike is just playing an elaborate prank on us, seeing how far he can go with this before people start noticing the proposal has jumped the shark.<br clear="all"></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>