cpython/Lib
Guido van Rossum 1510565cb5 Add optional 4th argument to count(), matching find() etc.
Also change all occurrences of "x == None" to "x is None" (not that it
matters much, these functions are all reimplemented in strop -- but
count() is not).
1997-10-20 23:31:15 +00:00
..
dos-8x3 The usual (and some new modules). 1997-10-06 20:19:59 +00:00
lib-old Turns out whatsound.py and sndhdr.py were identical modules. 1997-10-04 20:29:17 +00:00
lib-stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
lib-tk Move Widget.config() c.s. to Misc class, so the Tk class also inherits them. 1997-09-29 23:24:52 +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
test Added separate tests for {}.get(). 1997-10-20 20:10:43 +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
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 Use sys.exc_info() where needed. 1997-09-29 23:22:12 +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 Add optional arguments lo and hi to insort() and bisect(), to support 1997-10-07 14:45:49 +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 Use sys.exc_info() where needed. 1997-09-29 23:22:12 +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 Add Jeff Epler's interact() function. Note that it is broken. 1997-10-07 14:47:24 +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_reg.py Added some minimal comments and tweaked lay-out a bit. 1997-05-20 18:03:22 +00:00
copy.py Add XXX note about wanting support for copy_reg.py... 1997-10-07 14:47:50 +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 Fix join to support multiple arguments. 1997-10-07 14:48:23 +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
exceptions.py Move the __getitem__() definition from StandardException to Exception. 1997-10-06 15:48:20 +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 Return the error code from most commands, rather than swallowing it. 1997-10-07 14:49:56 +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 Allow open file as parameter (must be seekable) (Jack) 1997-10-08 15:22:32 +00:00
keyword.py Regenerated; __assert__ becomes assert. 1997-07-23 18:10:52 +00:00
knee.py #Added doc string. 1997-09-09 20:44:04 +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 Remove .pyo files like .pyc files. 1997-10-20 23:16:58 +00:00
mhlib.py Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
mimetools.py Use the modules base64, quopri, and uu, instead of external programs 1997-07-11 16:33:26 +00:00
mimetypes.py Handy utility to guess MIME type from extension. 1997-09-30 19:05:50 +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
ni1.py Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
ni.py Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
nntplib.py Patch by Charles G. Waldman to add optional user and password 1997-10-20 23:29:44 +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 Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
persist.py * ftplib.py: added abort() command (sends oob data). 1993-05-24 14:16:22 +00:00
pickle.py Three independent changes: 1997-09-12 20:07:24 +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 Add optional bufsize argument to various calls so we can make the 1997-09-29 04:04:39 +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 Added code to emit trailing ',' for singleton tuples in two places. 1997-09-14 23:21:51 +00:00
profile.doc Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
profile.py Use better timer on the mac 1997-10-08 15:23:02 +00:00
pstats.py Open files in binary mode (Jack) 1997-10-08 15:23:23 +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
re1.py New "re" regular expression support. 1997-10-06 14:45:17 +00:00
re.py Checking in AMK's latest installement. 1997-10-08 02:08:04 +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 Entirely rewritten parseaddr() function by Sjoerd Mullender. 1997-09-15 14:12:54 +00:00
rlcompleter.py Word completion for the new readline.set_completer() function. 1997-09-26 22:04:56 +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 Change packages -> site-packages 1997-09-08 02:14:09 +00:00
sndhdr.py sndhdr.py: restored lost file; audiodev.py: import platform specific 1994-01-14 16:46:14 +00:00
SocketServer.py No longer need to be very careful with saving the exception state 1997-09-29 23:17:48 +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 Add optional 4th argument to count(), matching find() etc. 1997-10-20 23:31:15 +00:00
StringIO.py Patch by Lars Wirzenius to allow f.readline(length). 1997-07-25 14:56:01 +00:00
stringold.py Add optional 4th argument to count(), matching find() etc. 1997-10-20 23:31:15 +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 Reduced number of temporary names used at module scope. Use underscores in 1997-10-06 21:06:29 +00:00
tb.py Use sys.exc_info() where needed. 1997-09-29 23:22:12 +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 Reduced number of temporary names used at module scope. Use underscores in 1997-10-06 21:28:04 +00:00
tokenize.py Correct typo in last line (test program invocation). 1997-06-03 22:05:15 +00:00
traceback.py Use Marc Lemburg's tb_lineno() to calculate the correct line number. 1997-09-26 22:43:02 +00:00
tty.py New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
types.py Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
tzparse.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
urllib.py splitpasswd(): The parameter is named "user", not "host". 1997-10-14 13:30:57 +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 UserDict.get(): New method to mirror built-in dictionaries' get() 1997-10-06 17:50:04 +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 Turns out whatsound.py and sndhdr.py were identical modules. 1997-10-04 20:29:17 +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