[Python-ideas] relaxing keyword usage restrictions

Barry Warsaw barry at python.org
Wed Sep 7 03:57:17 CEST 2011

On Sep 07, 2011, at 10:21 AM, Nick Coghlan wrote:

>>> class Foo:
...    """I'm still -1 myself, but such a delimited approach at least has the
...    virtue of addressing the *entire* scope of the identifier syntax
...    limitation rather than singling out keywords for special treatment.
...    Legitimate use cases for such a feature would include at least those
...    currently handled by the 'rename' flag on the namedtuple constructor
...    (the latter would still be needed to handle duplicate field names,
...    but illegal identifiers could just be quoted).
...    """ = False

frightening-ly y'rs,
-------------- 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/67d38ecc/attachment.pgp>

More information about the Python-ideas mailing list