Staging
v0.8.1
https://github.com/python/cpython
Revision 9c048f9f6565d9a83890d0834f5f9b4be3a7cd8b authored by Jeremy Hylton on 13 October 2000, 21:58:13 UTC, committed by Jeremy Hylton on 13 October 2000, 21:58:13 UTC
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
1 parent 5bad5a4
History
Tip revision: 9c048f9f6565d9a83890d0834f5f9b4be3a7cd8b authored by Jeremy Hylton on 13 October 2000, 21:58:13 UTC
Now supports entire Python 2.0 language and still supports Python
Tip revision: 9c048f9
File Mode Size
ACKS -rw-r--r-- 5.8 KB
AIX-NOTES -rw-r--r-- 7.3 KB
BLURB -rw-r--r-- 1.6 KB
BLURB.LUTZ -rw-r--r-- 5.6 KB
BLURB.WINDOWS -rw-r--r-- 3.8 KB
HISTORY -rw-r--r-- 305.2 KB
HPUX-NOTES -rw-r--r-- 1.0 KB
HYPE -rw-r--r-- 3.1 KB
Makefile -rw-r--r-- 242 bytes
Makefile.pre.in -rw-r--r-- 10.0 KB
NEWS -rw-r--r-- 31.1 KB
NEXT-NOTES -rw-r--r-- 2.2 KB
PURIFY.README -rw-r--r-- 3.6 KB
Porting -rw-r--r-- 1.9 KB
README -rw-r--r-- 1.8 KB
RFD -rw-r--r-- 3.9 KB
cheatsheet -rw-r--r-- 21.8 KB
comparisons -rw-r--r-- 6.6 KB
editline-fix -rw-r--r-- 2.4 KB
faq2html.py -rwxr-xr-x 6.6 KB
find_recursionlimit.py -rw-r--r-- 2.2 KB
fixfuncptrs.sh -rwxr-xr-x 2.2 KB
indent.pro -rw-r--r-- 66 bytes
python-mode.el -rw-r--r-- 115.4 KB
python.man -rw-r--r-- 8.1 KB
renumber.py -rwxr-xr-x 2.6 KB
setuid-prog.c -rw-r--r-- 5.3 KB
unicode.txt -rw-r--r-- 38.0 KB
vgrindefs -rw-r--r-- 498 bytes

README

back to top