On 1 November 2016 at 20:28, Paul Moore firstname.lastname@example.org wrote:
On 1 November 2016 at 10:11, Nick Coghlan email@example.com 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)