On Wed, Nov 2, 2016 at 9:18 PM, Steven D'Aprano <st...@pearwood.info> wrote: > 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.
I know. Sorry, I should have included some of Random's text in my quote. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/