cpython/Lib
Guido van Rossum 898c915a31 Added some try-excepts so that it can be imported in restricted mode
(though some type names are undefined in that case, e.g. CodeType
(inaccessible), FileType (not always accessible), and TracebackType
and FrameType (inaccessible).
1997-09-04 22:12:34 +00:00
..
aix3 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
aix4 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
dos-8x3 The usual. 1997-08-15 00:45:26 +00:00
dos_8x3 The usual. 1997-08-15 00:45:26 +00:00
freebsd2 FreeBSD platform specific modules 1996-07-30 21:05:10 +00:00
generic Use fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts 1996-08-08 18:25:40 +00:00
irix5 Added QUADRO. 1996-12-13 00:19:15 +00:00
irix6 Irix 6 specific files -- thanks Sjoerd! 1997-01-15 19:19:19 +00:00
lib-old This module is now completely obsolete. 1997-07-18 16:48:30 +00:00
lib-stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
lib-tk Add missing comma to make a tuple of (tagOrId). 1997-08-18 14:44:04 +00:00
linux1 more recent linux header files 1996-01-26 17:43:46 +00:00
linux2 Regenerated on a newer Linux version. 1997-05-09 02:21:06 +00:00
next3 regen for Next 1996-08-16 18:14:41 +00:00
plat-aix3 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
plat-aix4 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
plat-freebsd2 FreeBSD platform specific modules 1996-07-30 21:05:10 +00:00
plat-generic Use fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts 1996-08-08 18:25:40 +00:00
plat-irix5 Added QUADRO. 1996-12-13 00:19:15 +00:00
plat-irix6 Irix 6 specific files -- thanks Sjoerd! 1997-01-15 19:19:19 +00:00
plat-linux1 more recent linux header files 1996-01-26 17:43:46 +00:00
plat-linux2 Regenerated on a newer Linux version. 1997-05-09 02:21:06 +00:00
plat-next3 regen for Next 1996-08-16 18:14:41 +00:00
plat-sunos4 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
plat-sunos5 Regenerated on newer Solaris version 1997-05-13 17:45:56 +00:00
plat-win Get rid of debug print statements 1996-08-20 20:00:51 +00:00
stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
sunos4 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
sunos5 Regenerated on newer Solaris version 1997-05-13 17:45:56 +00:00
test The re test suite is very slow on slower hosts. 1997-09-04 14:35:45 +00:00
tkinter Add missing comma to make a tuple of (tagOrId). 1997-08-18 14:44:04 +00:00
win Get rid of debug print statements 1996-08-20 20:00:51 +00:00
addpack.py urlopen: add basejoin() function. 1994-03-07 11:45:36 +00:00
aifc.py Use newer struct, which handles unsigned long right 1997-01-11 19:21:09 +00:00
anydbm.py inherit error from _mod.error 1996-01-25 18:26:57 +00:00
AST.py New batch from Fred 1996-08-21 14:32:37 +00:00
audiodev.py Added support for 4-channel on SGI. 1996-12-13 00:19:56 +00:00
base64.py Set correct RFC number. Open input in binary. 1997-05-08 23:10:42 +00:00
BaseHTTPServer.py Treat all HTTP/1.* versions the same. 1997-08-12 14:46:13 +00:00
Bastion.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
bdb.py Normalize whitespace. 1997-07-11 13:43:31 +00:00
binhex.py Merged in Jack's fixes. This brings some lines beyond 79 chars again; 1997-02-11 16:39:31 +00:00
bisect.py Added a _v21 def to FL.py and added two new input field types 1992-09-02 20:43:20 +00:00
builtin.py added builtin b/w compat module. 1993-10-22 14:24:22 +00:00
calendar.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
cgi.py Changes suggested by Jim fulton: 1997-08-12 18:18:13 +00:00
CGIHTTPServer.py Remove some bogus code that would cause a NameError if a -r option was passed. 1997-02-19 20:07:38 +00:00
cmd.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
cmp.py fix buffer size 1994-10-09 22:34:40 +00:00
cmpcache.py fix buffer size 1994-10-09 22:34:40 +00:00
code.py Checking in new module code.py -- utilities dealing with code objects. 1997-07-18 16:57:52 +00:00
codehack.py This module is now completely obsolete. 1997-07-18 16:48:30 +00:00
colorsys.py New module 'colorsys' implements conversions between different color systems. 1992-09-07 09:41:48 +00:00
commands.py Added docstrings by Sue Williams, re-indented to 4 spaces / level. 1997-06-12 16:17:00 +00:00
compileall.py Don't trip over empty string in sys.path. 1996-07-31 21:18:42 +00:00
copy.py Make sure the objects returned by __getinitargs__() are kept alive (in 1997-08-20 22:26:19 +00:00
copy_reg.py Added some minimal comments and tweaked lay-out a bit. 1997-05-20 18:03:22 +00:00
dbhash.py backward compatible interface for bsddb 1996-01-25 18:33:39 +00:00
dircache.py posix -> os 1992-03-31 18:55:40 +00:00
dircmp.py * Got entirely rid of path.py. 1992-12-14 12:57:56 +00:00
dis.py Modernized for 1.5 1997-05-09 03:21:44 +00:00
dospath.py redefined normcase() 1995-08-10 19:27:42 +00:00
dumbdbm.py export error == IOError 1996-05-28 22:58:40 +00:00
dump.py New == syntax 1992-01-01 19:35:13 +00:00
emacs.py Added emacs.py (for misc/py-connect.el). 1992-08-09 13:54:50 +00:00
exceptions.py New file, which is imported by the built-in module when python is 1997-08-29 21:59:26 +00:00
find.py changes for the Mac 1995-01-27 02:41:45 +00:00
fmt.py Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
fnmatch.py changes for the Mac 1995-01-27 02:41:45 +00:00
formatter.py (formatter.py): Add a flush() method to the writer interface. This really 1996-12-31 20:50:51 +00:00
fpformat.py Initial revision 1992-03-15 21:37:43 +00:00
ftplib.py Wrapped up the ~/.netrc support. This is basically just the changes Guido & 1997-06-24 22:02:54 +00:00
getopt.py Layout and cleanup by Fred 1996-09-11 19:43:52 +00:00
glob.py New doc strings. 1997-04-02 05:47:11 +00:00
gopherlib.py Changed makefile() args from r/w to rb/wb, for non-unix compatability. 1996-02-14 16:06:24 +00:00
grep.py Use *args syntax instead of +args 1992-04-06 14:03:53 +00:00
gzip.py Add the option to pass an open file object to GzipFile. This obviates 1997-07-19 20:22:23 +00:00
htmlentitydefs.py added &quot def 1996-05-28 23:18:55 +00:00
htmllib.py improved test() 1996-02-13 00:02:10 +00:00
httplib.py Two changes: 1997-08-11 21:52:17 +00:00
ihooks.py Add try-finally to close the file after loading it in 1997-08-13 14:48:36 +00:00
imghdr.py (Jack:) Recognize PNG files. 1997-04-11 18:59:38 +00:00
keyword.py Regenerated; __assert__ becomes assert. 1997-07-23 18:10:52 +00:00
linecache.py don't print Cannot open/stat messages 1995-08-10 19:32:22 +00:00
lockfile.py Module to lock open files using fcntl() 1994-05-03 14:46:18 +00:00
macpath.py Fix for boundary case (Jack) 1997-05-21 14:59:17 +00:00
macstat.py * Lib/linecache.py: don't crash on empty filename 1994-08-23 13:32:20 +00:00
macurl2path.py Handling of pathnames pointing to files on toplevel folder of disk was 1997-05-20 16:00:07 +00:00
mailbox.py Added BabylMailbox class by Fred Lundh (untested). 1997-05-15 14:33:09 +00:00
mailcap.py Change by Andrew Kuchling (edited by Guido): 1997-03-25 21:58:08 +00:00
Makefile Added Makefile with clean and clobber targets 1994-01-04 23:24:22 +00:00
mhlib.py Added createmessage() -- Lars Wirzenius. 1997-07-25 14:59:10 +00:00
mimetools.py Use the modules base64, quopri, and uu, instead of external programs 1997-07-11 16:33:26 +00:00
MimeWriter.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
mimify.py Fixed (and documented, see Doc/libmimify.tex) mime_decode_header() and 1997-08-14 14:10:37 +00:00
multifile.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
mutex.py Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
newdir.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
newimp.py Official version 1.26 directly from Ken 1995-07-12 15:34:34 +00:00
ni.py Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
ni1.py Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
nntplib.py Fixed bugs regarding lines starting with '.' (both receiving and sending). 1997-08-26 23:26:18 +00:00
ntpath.py Rewrite normcase() using string.translate... 1997-08-12 14:46:58 +00:00
nturl2path.py Allow paths without drive specifier (Jack). 1997-08-12 14:47:24 +00:00
os.py Write out the dynamic OS choice, to avoid exec statements. 1997-08-29 22:36:47 +00:00
ospath.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
packmail.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Para.py Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
pdb.doc Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
pdb.py No longer need to use codehack -- use co.co_firstlineno instead. 1997-07-18 16:47:40 +00:00
persist.py * ftplib.py: added abort() command (sends oob data). 1993-05-24 14:16:22 +00:00
pickle.py Add the same _keep_alive patch (by Michael Scharff) that was added to 1997-09-03 00:23:54 +00:00
pipes.py * Mass change: get rid of all init() methods, in favor of __init__() 1993-12-17 15:25:27 +00:00
poly.py fix bug in poly.minus 1994-10-20 22:02:03 +00:00
popen2.py Rewrite using class, to make waiting for processes possible; 1997-08-11 03:27:24 +00:00
posixfile.py Added linux2 specific code :-( 1996-09-10 17:40:16 +00:00
posixpath.py join(): join one or more path components 1997-02-18 21:53:25 +00:00
pprint.py Slight mods to make the module conform to the documentation. 1997-07-18 20:42:39 +00:00
profile.doc Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
profile.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
pstats.py more robust coding, adapted for mac 1995-09-30 16:48:54 +00:00
pty.py New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
py_compile.py compile(): Use the __debug__ flag to determine the proper filename extension 1997-03-13 14:13:16 +00:00
pyclbr.py Don't add names that start with _ 1996-10-10 16:00:28 +00:00
Queue.py Some minute changes. 1993-12-29 15:33:08 +00:00
quopri.py Added /usr/bin/env python and made executable. 1997-07-11 18:39:03 +00:00
rand.py Added warning comment 1991-08-16 13:28:11 +00:00
random.py Changes to use default argument values where possible 1994-05-06 14:28:19 +00:00
re.py Last minut changes for \B, \S (?). AMK. 1997-08-15 15:44:23 +00:00
regex_syntax.py Initial revision 1991-12-30 16:03:05 +00:00
regexp.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
regsub.py Store the current regex syntax along with the regular expression 1997-02-18 18:52:55 +00:00
repr.py use getattr() instead of eval(), fix string representations 1995-01-12 12:29:17 +00:00
rexec.py Alas, I have to restore 'marshal', since it is needed by the new 1997-04-25 19:10:15 +00:00
rfc822.py Tweaks by Lars Wirzenius to parse some more forms of illegal dates: 1997-07-25 15:20:52 +00:00
robotparser.py Skip Montanaro's robots.txt parser. 1997-01-30 03:18:23 +00:00
sched.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
sgmllib.py (sgmllib.py): Partial acceptance of patch from David Leonard 1996-12-16 21:56:27 +00:00
shelve.py Use cPickle and cStringIO when available. 1997-06-06 21:12:45 +00:00
shutil.py Transformed comments to doc strings. 1997-04-29 14:45:19 +00:00
SimpleHTTPServer.py Get rid of nobody_uid() and import pwd -- not used here. 1996-09-04 23:42:04 +00:00
site.py Different test for Unix -- rely on os.sep instead of sys.platform. 1997-09-03 23:12:18 +00:00
sndhdr.py sndhdr.py: restored lost file; audiodev.py: import platform specific 1994-01-14 16:46:14 +00:00
SocketServer.py Fix bug found by kjpylint; change doc string to avoid "(" in column 1. 1997-07-16 16:21:38 +00:00
stat.py * Lib/linecache.py: don't crash on empty filename 1994-08-23 13:32:20 +00:00
statcache.py Use global statement instead of importing ourselves to get to global 1995-12-07 10:16:45 +00:00
string.py Changed my mind on replace(). 1997-04-02 05:49:46 +00:00
StringIO.py Patch by Lars Wirzenius to allow f.readline(length). 1997-07-25 14:56:01 +00:00
stringold.py Changed my mind on replace(). 1997-04-02 05:49:46 +00:00
sunau.py Get rid of access statement 1996-08-20 20:40:07 +00:00
sunaudio.py Remove reference to obsolete module 'audio' 1992-06-03 16:47:49 +00:00
symbol.py New symbols due to assert statement. 1997-04-02 05:46:05 +00:00
tb.py noted obsolescence; exec() -> exec 1995-08-10 19:43:04 +00:00
tempfile.py Added TemporaryFile and wrapper class by Jim Fulton. 1997-08-12 18:00:12 +00:00
toaiff.py * Mass change: get rid of all init() methods, in favor of __init__() 1993-12-17 15:25:27 +00:00
token.py New batch from Fred 1996-08-21 14:32:37 +00:00
tokenize.py Correct typo in last line (test program invocation). 1997-06-03 22:05:15 +00:00
traceback.py Use sys.exc_info() instead of sys.exc_{type,value,traceback}. 1997-07-18 16:46:36 +00:00
tty.py New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
types.py Added some try-excepts so that it can be imported in restricted mode 1997-09-04 22:12:34 +00:00
tzparse.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
urllib.py One patch from Sjoerd and one from Jack. 1997-09-03 22:36:15 +00:00
urlopen.py urlopen: add basejoin() function. 1994-03-07 11:45:36 +00:00
urlparse.py After some discussion with Jeremy and Fred, decided to limit the 1997-07-14 19:08:15 +00:00
user.py #typo 1997-08-30 20:04:42 +00:00
UserDict.py Fix bug in copy() by using copy.copy() instead of making assumptions 1997-06-03 14:10:01 +00:00
UserList.py added * and + operators 1996-05-28 22:56:16 +00:00
util.py Clarify comment. 1991-04-21 19:34:48 +00:00
uu.py Added /usr/bin/env python and made executable. 1997-07-11 18:39:03 +00:00
wave.py Get rid of access statement 1996-08-20 20:40:07 +00:00
whatsound.py * calendar.py: all libC functionality now moved to built-in time module 1993-06-23 09:30:50 +00:00
whichdb.py Use new struct which supports standardized sizes 1997-01-11 19:22:11 +00:00
whrandom.py Two improvements suggested by Tim Peters: speed up random() since we 1997-07-10 15:14:50 +00:00
xdrlib.py Packer.pack_uhyper(): Fixes needed to properly pack unsigned 64 bit 1997-05-29 21:01:35 +00:00
zmod.py New == syntax 1992-01-01 19:35:13 +00:00