cpython/Lib
Jeremy Hylton 0fdffcf916 rapid evolution towards producing real .pyc files (even though I don't
handle most of the language syntax yet)

create NestedCodeGenerator used to generator the separate code object
that needs to be passed as an argument to MAKE_FUNCTION when a def
stmt is found (probably useful for class too)

change CodeGenerator.visitFunction to use the NestedCG

add CompiledModule class to handle creation of .pyc (pretty minimal
for now)

add makeCodeObject method to PythonVMCode that replaces symbolic names
with indexes into slots of the code code.  the design of this
class will probably need to be revised.
2000-02-04 19:37:35 +00:00
..
compiler rapid evolution towards producing real .pyc files (even though I don't 2000-02-04 19:37:35 +00:00
distutils Improved an error message. 2000-02-03 23:07:54 +00:00
dos-8x3 The usual 1999-04-08 20:27:54 +00:00
lib-old These modules are now declared obsolete. 2000-02-03 15:26:16 +00:00
lib-stdwin
lib-tk Fix PR#107: wm_colormapwindows() did the wrong thing when presented 1999-10-20 12:29:56 +00:00
plat-aix3
plat-aix4
plat-beos Checking in BeOS specific socket module. 1998-08-10 20:15:32 +00:00
plat-freebsd2
plat-freebsd3
plat-generic
plat-irix5 Remove stuff with unsure copyright status 1999-03-12 19:31:51 +00:00
plat-irix6 Remove stuff with unsure copyright status 1999-03-12 19:31:51 +00:00
plat-linux1
plat-linux2 Forgot to add this file. CDROM device parameters. 1999-04-12 14:35:08 +00:00
plat-netbsd1
plat-next3
plat-sunos4
plat-sunos5 Forgot to add this file. CDROM device parameters. 1999-04-12 14:35:08 +00:00
plat-win In _fileobject, optimize read() a bit (it could be really slow), and 2000-02-02 16:57:32 +00:00
test Revise tests to support str(<long int object>) not appending "L". 1999-12-23 15:36:42 +00:00
aifc.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
anydbm.py
asynchat.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
asyncore.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
audiodev.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
base64.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
BaseHTTPServer.py Fix by Moshe Zadka (cleaned up and documented by GvR) to break out the 1999-10-26 13:01:36 +00:00
Bastion.py
bdb.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
binhex.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
bisect.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
builtin.py
calendar.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
cgi.py After more discussion with Jim, change the behavior so that only a 1999-06-11 18:26:09 +00:00
CGIHTTPServer.py os.fork raises AttributeError, not NameError, if fork() isn't 1999-10-18 13:43:44 +00:00
chunk.py Sjoerd Mullender writes: 1999-08-26 15:50:43 +00:00
cmd.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
code.py Moved compile_command() to a file of its own (codeop.py). 1998-10-22 21:56:44 +00:00
codeop.py Moved compile_command() here from code.py, so JPython can provide its 1998-10-22 21:56:15 +00:00
colorsys.py Oops, one more "x, y, z" to convert... 1999-02-25 14:26:02 +00:00
commands.py
compileall.py When run as a script, report failures in the exit code as well. 1999-03-29 20:25:40 +00:00
ConfigParser.py fixed a typo in a docstring, and slightly expanded the module 1999-10-12 16:12:48 +00:00
copy.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
copy_reg.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
dbhash.py Clarify why we define error. Suggested by Andrew Dalke. 1999-05-03 18:09:26 +00:00
dircache.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
dis.py Added a simple test program to disassemble a file, invoked as __main__. 2000-02-04 17:47:55 +00:00
dospath.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
dumbdbm.py Cast f.tell() result to int() in _addval(), so it works even on 1999-04-27 12:21:17 +00:00
exceptions.py A nit to make Fred proud. 1999-08-19 21:17:08 +00:00
filecmp.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
fileinput.py Fix for PR#111: when using the inplace option, give the new file the 1999-10-18 21:41:43 +00:00
fnmatch.py
formatter.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
fpformat.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
ftplib.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
getopt.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
getpass.py print a warning if the password will be echoed. 1999-10-18 22:25:22 +00:00
glob.py
gopherlib.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
gzip.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
htmlentitydefs.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
htmllib.py No need to import sys. (Andrew Dalke & kjpylint) 1999-05-03 18:13:51 +00:00
httplib.py OpenSSL support. This is based on patches for a version of SSLeay by 1999-12-07 21:37:17 +00:00
ihooks.py
imaplib.py V 2.16 from Piers: 1999-12-13 23:27:45 +00:00
imghdr.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
imputil.py redesign/rebuild around the ImportManager concept. 2000-01-03 02:38:29 +00:00
keyword.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
knee.py
linecache.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
locale.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
macpath.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
macstat.py
macurl2path.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
mailbox.py Only set msg.fp to None when there are no extra arguments; if there 1999-12-14 22:18:37 +00:00
mailcap.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
Makefile
mhlib.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
mimetools.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
mimetypes.py Map .js to application/x-javascript. 1999-05-20 12:52:04 +00:00
MimeWriter.py
mimify.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
multifile.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
mutex.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
netrc.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
newimp.py
nntplib.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
ntpath.py Optimize abspath() slightly for the case that win32api can't be 2000-02-02 16:54:39 +00:00
nturl2path.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
os.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
pdb.doc Untabified and applied Richard Wolff's changes (plus my own reflowing 1998-09-17 15:01:38 +00:00
pdb.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
persist.py
pickle.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
pipes.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
popen2.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
poplib.py POP3.uidl(): Update docstring based on comments from Piers Lauder 1999-05-13 18:47:25 +00:00
posixfile.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
posixpath.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
pprint.py Don't call len() if the value is already cached! Caught by Gerrit 1999-12-22 21:52:32 +00:00
profile.doc
profile.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
pstats.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
pty.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
py_compile.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
pyclbr.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
Queue.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
quopri.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
random.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
re.py Correct typo in module doc string doscovered by Jonathan Giddy. 1999-11-15 14:19:15 +00:00
reconvert.py
regex_syntax.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
regsub.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
repr.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
rexec.py Get rid of the classes RModuleLoader and RModuleImporter -- these were 1998-09-21 14:53:26 +00:00
rfc822.py Fix by Nick Russo in processing of timezone in test program; the 2000-01-17 14:11:04 +00:00
rlcompleter.py Oops. Remove some garbage from the doc string that was accidentally 1999-11-09 16:36:45 +00:00
robotparser.py
sched.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
sgmllib.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
shelve.py Patch by Paul Sokolovsky to support the get() method. 1999-08-11 01:54:05 +00:00
shlex.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
shutil.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
SimpleHTTPServer.py Moshe Zadka writes: When deploying SimpleHTTPServer, I noticed a 1999-11-16 19:04:32 +00:00
site.py Wrong pathname in docstring detected by Fredrik Nehr. 1998-11-25 15:57:47 +00:00
smtplib.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
sndhdr.py Move brief descriptions of what() and whathdr() to docstrings in the 1999-01-06 15:20:49 +00:00
SocketServer.py update to use threading module instead of thread. 1999-10-12 16:20:13 +00:00
stat.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
statcache.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
statvfs.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
string.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
StringIO.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
stringold.py Mainlining the string_methods branch. See branch revision log 1999-10-12 19:54:53 +00:00
sunau.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
sunaudio.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
symbol.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
tabnanny.py Mark Hammond writes: 1999-07-30 17:48:20 +00:00
telnetlib.py Added mt_interact() -- multithreaded version of interact(). 1998-12-23 23:04:17 +00:00
tempfile.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
threading.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
toaiff.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
token.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
tokenize.py
traceback.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
tty.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
types.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
tzparse.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
urllib.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
urllib2.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
urlopen.py
urlparse.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
user.py
UserDict.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
UserList.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
uu.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
wave.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
whichdb.py Skip Montanaro: 1999-06-08 13:13:16 +00:00
whrandom.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
xdrlib.py
xmllib.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00