[Python-ideas] relaxing keyword usage restrictions

Barry Warsaw 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.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110906/ebab9a60/attachment.pgp>


More information about the Python-ideas mailing list