cpython/Lib/compiler
Jeremy Hylton 8d22b0409b Fix com_arglist() and update grammar fragment.
SF bug #522264 reported by Evelyn Mitchell.

The code included a comment about "STAR STAR" which was translated
into the code as the bogus attribute token.STARSTAR.  This name never
caused an attribute error because it was never retrieved.  The code
was based on an old version of the grammar that specified kwargs as
two tokens ('*' '*').  I checked as far back as 2.1 and didn't find
this production.

The fix is simple, because token.DOUBLESTAR is the only token
allowed.  Also update the grammar fragment in com_arglist().

XXX I'll bet lots of other grammar fragments in comments are out of
date, probably in this module and in compile.c.
2002-04-19 22:56:37 +00:00
..
__init__.py Whitespace normalization. 2001-10-18 21:57:37 +00:00
ast.py Patch #521714: fix pychecker warnings in ast.py. 2002-02-23 22:35:33 +00:00
consts.py del no longer necessary now that new module is gone 2001-09-14 22:54:48 +00:00
future.py Whitespace normalization. 2001-10-18 21:57:37 +00:00
misc.py Whitespace normalization. 2001-10-18 21:57:37 +00:00
pyassem.py Whitespace normalization. 2001-10-18 21:57:37 +00:00
pycodegen.py Whitespace normalization. 2002-02-16 07:34:19 +00:00
symbols.py Merge of the release22 branch changes back into the trunk. 2001-12-21 20:04:22 +00:00
syntax.py Last set of change to get regression tests to pass 2001-09-17 19:33:48 +00:00
transformer.py Fix com_arglist() and update grammar fragment. 2002-04-19 22:56:37 +00:00
visitor.py Remove more out-of-date comments and clarify explanation of visit(). 2002-04-18 16:26:40 +00:00