[issue5382] Allow Python keywords as keyword arguments for functions.

David W. Lambert report at bugs.python.org
Fri Feb 27 18:00:36 CET 2009


David W. Lambert <lambertdw at corning.com> added the comment:

Use cases are easy to find.
So easily found that there's probably a sound reason for reserved words.
The proposal couples lexical analysis to the parser.

# syntax error or name error?

def f():
    class
    return

def f(class):
    class
    return

----------
nosy: +LambertDW

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5382>
_______________________________________


More information about the Python-bugs-list mailing list