<p dir="ltr">Geez.</p>
<p dir="ltr">--Guido (mobile)</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Nov 1, 2016 8:10 PM, "Chris Angelico" <<a href="mailto:rosuav@gmail.com">rosuav@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Nov 2, 2016 at 11:09 AM, Steven D'Aprano <<a href="mailto:steve@pearwood.info">steve@pearwood.info</a>> wrote:<br>
> I don't know when I would ever want to actually do this in practice, but<br>
> allowing the ?. operator to magically effect code outside of the<br>
> parentheses definitely counts as "spooky action at a distance". Guido's<br>
> rule of "everything to the right" is easy to reason about if "to the<br>
> right" ends where the parenthised expression ends.<br>
><br>
<br>
We already expect "to the left" and "to the right" to end based on<br>
operator precedence rules. Parentheses are used to control operator<br>
precedence. It would surprise people *greatly* if they didn't bound<br>
the effect of the question mark.<br>
<br>
ChrisA<br>
______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br>
</blockquote></div></div>