Staging
v0.8.1
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
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
Now supports entire Python 2.0 language and still supports Python
Tip revision: 9c048f9
File | Mode | Size |
---|---|---|
.cvsignore | -rw-r--r-- | 87 bytes |
BUILDno.txt | -rw-r--r-- | 1.9 KB |
_socket.dsp | -rwxr-xr-x | 4.0 KB |
_sre.dsp | -rwxr-xr-x | 7.6 KB |
_tkinter.dsp | -rw-r--r-- | 8.6 KB |
bsddb.dsp | -rw-r--r-- | 8.4 KB |
mmap.dsp | -rw-r--r-- | 3.8 KB |
parser.dsp | -rw-r--r-- | 7.7 KB |
pcbuild.dsw | -rw-r--r-- | 4.8 KB |
pyexpat.dsp | -rwxr-xr-x | 7.9 KB |
python.dsp | -rw-r--r-- | 6.7 KB |
python20.dsp | -rw-r--r-- | 36.3 KB |
python20.wse | -rw-r--r-- | 39.2 KB |
pythonw.dsp | -rw-r--r-- | 7.3 KB |
readme.txt | -rw-r--r-- | 4.0 KB |
rt.bat | -rwxr-xr-x | 323 bytes |
select.dsp | -rwxr-xr-x | 4.1 KB |
ucnhash.dsp | -rw-r--r-- | 3.7 KB |
unicodedata.dsp | -rwxr-xr-x | 4.1 KB |
w9xpopen.dsp | -rw-r--r-- | 3.4 KB |
winreg.dsp | -rw-r--r-- | 4.0 KB |
winsound.dsp | -rw-r--r-- | 3.8 KB |
zlib.dsp | -rw-r--r-- | 4.1 KB |
Computing file changes ...