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-- | 93 bytes |
Makefile.pre.in | -rw-r--r-- | 7.2 KB |
Setup.config.in | -rw-r--r-- | 623 bytes |
Setup.in | -rw-r--r-- | 15.1 KB |
_codecsmodule.c | -rw-r--r-- | 15.2 KB |
_cursesmodule.c | -rw-r--r-- | 63.7 KB |
_localemodule.c | -rw-r--r-- | 11.8 KB |
_sre.c | -rw-r--r-- | 63.0 KB |
_tkinter.c | -rw-r--r-- | 47.0 KB |
almodule.c | -rw-r--r-- | 79.0 KB |
arraymodule.c | -rw-r--r-- | 35.1 KB |
audioop.c | -rw-r--r-- | 35.1 KB |
binascii.c | -rw-r--r-- | 32.8 KB |
bsddbmodule.c | -rw-r--r-- | 17.8 KB |
cPickle.c | -rw-r--r-- | 106.8 KB |
cStringIO.c | -rw-r--r-- | 21.2 KB |
ccpython.cc | -rw-r--r-- | 220 bytes |
cdmodule.c | -rw-r--r-- | 18.5 KB |
cgen.py | -rw-r--r-- | 12.2 KB |
cgensupport.c | -rw-r--r-- | 6.0 KB |
cgensupport.h | -rw-r--r-- | 2.1 KB |
clmodule.c | -rw-r--r-- | 65.4 KB |
cmathmodule.c | -rw-r--r-- | 7.7 KB |
config.c.in | -rw-r--r-- | 1.1 KB |
cryptmodule.c | -rw-r--r-- | 986 bytes |
cstubs | -rw-r--r-- | 32.4 KB |
dbmmodule.c | -rw-r--r-- | 8.4 KB |
dlmodule.c | -rw-r--r-- | 5.0 KB |
errnomodule.c | -rw-r--r-- | 23.3 KB |
fcntlmodule.c | -rw-r--r-- | 7.7 KB |
flmodule.c | -rw-r--r-- | 48.5 KB |
fmmodule.c | -rw-r--r-- | 5.1 KB |
fpectlmodule.c | -rw-r--r-- | 9.6 KB |
fpetestmodule.c | -rw-r--r-- | 5.5 KB |
gcmodule.c | -rw-r--r-- | 18.1 KB |
gdbmmodule.c | -rw-r--r-- | 13.4 KB |
getbuildinfo.c | -rw-r--r-- | 500 bytes |
getpath.c | -rw-r--r-- | 18.0 KB |
glmodule.c | -rw-r--r-- | 149.1 KB |
grpmodule.c | -rw-r--r-- | 3.4 KB |
imageop.c | -rw-r--r-- | 14.3 KB |
imgfile.c | -rw-r--r-- | 10.9 KB |
ld_so_aix | -rwxr-xr-x | 5.8 KB |
license.terms | -rw-r--r-- | 2.2 KB |
linuxaudiodev.c | -rw-r--r-- | 12.7 KB |
main.c | -rw-r--r-- | 7.4 KB |
makesetup | -rwxr-xr-x | 6.5 KB |
makexp_aix | -rwxr-xr-x | 3.0 KB |
mathmodule.c | -rw-r--r-- | 7.8 KB |
md5.h | -rw-r--r-- | 2.0 KB |
md5c.c | -rw-r--r-- | 10.0 KB |
md5module.c | -rw-r--r-- | 6.0 KB |
mmapmodule.c | -rw-r--r-- | 22.7 KB |
mpzmodule.c | -rw-r--r-- | 39.5 KB |
newmodule.c | -rw-r--r-- | 4.7 KB |
nismodule.c | -rw-r--r-- | 7.3 KB |
operator.c | -rw-r--r-- | 8.8 KB |
parsermodule.c | -rw-r--r-- | 81.5 KB |
pcre-int.h | -rw-r--r-- | 11.2 KB |
pcre.h | -rw-r--r-- | 2.1 KB |
pcremodule.c | -rw-r--r-- | 14.9 KB |
posixmodule.c | -rw-r--r-- | 135.2 KB |
puremodule.c | -rw-r--r-- | 29.7 KB |
pwdmodule.c | -rw-r--r-- | 3.0 KB |
pyexpat.c | -rw-r--r-- | 30.9 KB |
pypcre.c | -rw-r--r-- | 134.2 KB |
python.c | -rw-r--r-- | 201 bytes |
readline.c | -rw-r--r-- | 12.1 KB |
regexmodule.c | -rw-r--r-- | 14.8 KB |
regexpr.c | -rw-r--r-- | 45.7 KB |
regexpr.h | -rw-r--r-- | 5.4 KB |
resource.c | -rw-r--r-- | 5.7 KB |
rgbimgmodule.c | -rw-r--r-- | 16.4 KB |
rotormodule.c | -rw-r--r-- | 14.3 KB |
selectmodule.c | -rw-r--r-- | 15.3 KB |
sgimodule.c | -rw-r--r-- | 1001 bytes |
shamodule.c | -rw-r--r-- | 15.6 KB |
signalmodule.c | -rw-r--r-- | 15.0 KB |
socketmodule.c | -rw-r--r-- | 67.7 KB |
soundex.c | -rw-r--r-- | 4.1 KB |
sre.h | -rw-r--r-- | 2.3 KB |
sre_constants.h | -rw-r--r-- | 2.1 KB |
stropmodule.c | -rw-r--r-- | 26.8 KB |
structmodule.c | -rw-r--r-- | 24.9 KB |
sunaudiodev.c | -rw-r--r-- | 10.7 KB |
svmodule.c | -rw-r--r-- | 20.0 KB |
syslogmodule.c | -rw-r--r-- | 6.1 KB |
tclNotify.c | -rw-r--r-- | 25.1 KB |
termios.c | -rw-r--r-- | 8.5 KB |
threadmodule.c | -rw-r--r-- | 10.4 KB |
timemodule.c | -rw-r--r-- | 20.1 KB |
timing.h | -rw-r--r-- | 2.6 KB |
timingmodule.c | -rw-r--r-- | 1.1 KB |
tkappinit.c | -rw-r--r-- | 2.3 KB |
ucnhash.c | -rw-r--r-- | 541.1 KB |
unicodedata.c | -rw-r--r-- | 5.9 KB |
unicodedata_db.h | -rw-r--r-- | 148.5 KB |
unicodedatabase.c | -rw-r--r-- | 1.2 KB |
unicodedatabase.h | -rw-r--r-- | 1.3 KB |
xxmodule.c | -rw-r--r-- | 4.8 KB |
yuv.h | -rw-r--r-- | 2.5 KB |
yuvconvert.c | -rw-r--r-- | 3.0 KB |
zlibmodule.c | -rw-r--r-- | 25.8 KB |
Computing file changes ...