[Python-ideas] relaxing keyword usage restrictions
Stephen J. Turnbull
stephen at xemacs.org
Tue Sep 6 04:26:32 CEST 2011
Greg Ewing writes:
> Devin Jeanpierre wrote:
> > The "as" keyword used to be a pseudokeyword that functioned this way.
> > Apparently the experiment didn't go well,
> I think that was only done because the __future__ mechanism
> hadn't been invented then. As far as I know, it was always
> intended to become a full keyword at some point.
That may be true, but the PEP says "this word 'as' is not intended to
become a keyword."
For my point it doesn't matter exactly what the intention was; what
matters is that people pay attention to the cost of reserving keywords
globally, but also accept the need for a few keywords.
More information about the Python-ideas