• Jeremy Hylton's avatar
    Now supports entire Python 2.0 language and still supports Python · 9c048f9f
    Jeremy Hylton yazdı
    1.5.2.  The compiler generates code for the version of the interpreter
    it is run under.
    
    ast.py:
        Print and Printnl add dest attr for extended print
        new node AugAssign for augmented assignments
        new nodes ListComp, ListCompFor, and ListCompIf for list
            comprehensions
    
    pyassem.py:
        add work around for string-Unicode comparison raising UnicodeError
            on comparison of two objects in code object's const table
    
    pycodegen.py:
        define VERSION, the Python major version number
        get magic number using imp.get_magic() instead of hard coding
        implement list comprehensions, extended print, and augmented
            assignment; augmented assignment uses Delegator classes (see
            doc string)
        fix import and tuple unpacking for 1.5.2
    
    transformer.py:
        various changes to support new 2.0 grammar and old 1.5 grammar
        add debug_tree helper than converts and symbol and token numbers
        to their names
    9c048f9f
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
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...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...