[Python-ideas] Crazy idea: allow keywords as names in certain positions

Antoine Pitrou solipsis at pitrou.net
Tue May 15 06:07:43 EDT 2018


On Tue, 15 May 2018 21:51:20 +1200
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Ethan Furman wrote:
> > Part of the point of the proposal is to be able to use existing keywords 
> > (at least, I thought it was).  
> 
> Mainly it's so that *new* keywords can be added to the language
> without breaking old code. Nobody is going to want to turn one
> of the currently existing keywords into a name.

I'm a worried that we're speaking about making it *easier* to add new
keywords.  The language doesn't need a C++-like destiny, IMHO, where
the language definition becomes increasingly bloated by piling up
syntactical features.

Regards

Antoine.




More information about the Python-ideas mailing list