• Jeremy Hylton's avatar
    Fix com_arglist() and update grammar fragment. · 8d22b040
    Jeremy Hylton yazdı
    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.
    8d22b040
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...