On Wed, Nov 02, 2016 at 02:09:24PM +1100, Chris Angelico wrote:
> We already expect "to the left" and "to the right" to end based on
> operator precedence rules. Parentheses are used to control operator
> precedence. It would surprise people *greatly* if they didn't bound
> the effect of the question mark.

That's exactly my point. I was just responding to Random's suggestion 
that ?. could/should/might reach outside of the parens. I didn't pluck 
this idea out of thin air only to object to it.


-- 
Steve
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to