• Jeremy Hylton's avatar
    Provisional implementation of PEP 3104. · 81e9502d
    Jeremy Hylton yazdı
    Add nonlocal_stmt to Grammar and Nonlocal node to AST.  They both
    parallel the definitions for globals.  The symbol table treats
    variables declared as nonlocal just like variables that are free
    implicitly.
    
    This change is missing the language spec changes, but makes some
    decisions about what the spec should say via the unittests.  The PEP
    is silent on a number of decisions, so we should review those before
    claiming that nonlocal is complete.
    
    Thomas Wouters made the grammer and ast changes.  Jeremy Hylton added
    the symbol table changes and the tests.  Pete Shinners and Neal
    Norwitz helped review the code.
    81e9502d
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...
PCbuild8 Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in 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...