On 13/05/18 19:19, Guido van Rossum wrote:
The idea I had (not for the first time:-)  is that in many syntactic
positions we could just treat keywords as names, and that would free up
these keywords.

I'm not familiar with the innards of the parser and it's waaaay too long since I sat through a parsing course, but can you turn that inside out? Are there times when the compiler knows it must be looking at a keyword, not a name? I suspect not, given that arbitrary expressions can be statements, but someone else may have a more knowledgeable opinion.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
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