[Python-Dev] one more thing for 2.2?
Guido van Rossum
Thu, 12 Jul 2001 17:02:30 -0400
> has anyone looked at Paul Svensson's "unreserved words" patch?
> "The bottom line: apply this patch, and you can use all of Python's
> 'reserved words' as identifiers; in most cases right away, in all other
> cases by wrapping parens around them."
Wow, an impressive hack. But a hack! Lots of special casing, and
breaks abstractions: the parser driver is supposed to know nothing
about the actual grammar embodied in its tables.
And it won't help with yield: things like
are as valid in the old syntax as they are with the yield statement
--Guido van Rossum (home page: http://www.python.org/~guido/)