cpython/Lib/compiler
Jeremy Hylton 9c048f9f65 Now supports entire Python 2.0 language and still supports Python
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
2000-10-13 21:58:13 +00:00
..
__init__.py import compile function form pycodegen 2000-03-06 19:12:33 +00:00
ast.py Now supports entire Python 2.0 language and still supports Python 2000-10-13 21:58:13 +00:00
consts.py constants from transformer 2000-02-08 18:57:51 +00:00
misc.py change name of Set method: items -> elements (avoids confusion with 2000-03-16 20:02:38 +00:00
pyassem.py Now supports entire Python 2.0 language and still supports Python 2000-10-13 21:58:13 +00:00
pycodegen.py Now supports entire Python 2.0 language and still supports Python 2000-10-13 21:58:13 +00:00
transformer.py Now supports entire Python 2.0 language and still supports Python 2000-10-13 21:58:13 +00:00
visitor.py Bring Tools/compiler almost up to date. Specifically: 2000-08-12 20:32:46 +00:00