On 1 November 2016 at 20:28, Paul Moore <[email protected]> wrote: > On 1 November 2016 at 10:11, Nick Coghlan <[email protected]> wrote: >> >> I do think it would be worth covering the symbol+keyword option >> discussed in PEP 531 (i.e. "?else" instead of "??", but keeping "?.", >> and "?[") > > FWIW, I'm not keen on it. > > As a technical question, would it be treated in the syntax as a > keyword, which happened to be made up of a punctuation character > followed by letters, or as a ? symbol followed by a keyword?
Combined keyword, rather than two distinct tokens. If you don't do that, you end up creating ambiguities for other possible uses of "?" (like the "." and "?[]" suggestions) Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
