[Python-ideas] relaxing keyword usage restrictions
barry at python.org
Tue Sep 6 22:41:03 CEST 2011
On Sep 05, 2011, at 03:50 PM, Nick Coghlan wrote:
>The main advantage of making things out-and-out keywords is that it
>greatly simplifies the task of *parsing* the language.
While I agree with this, and the other justifications Nick mentions, I *could*
see a potential middle ground, by allowing keywords as attributes. I think
I'd still be -0 (at least) on it, but IIRC Jython did allow these at one point
(e.g. `foo.class`), mostly through an accident of its implementation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Python-ideas