cpython/Lib
Guido van Rossum 06ba34c5d4 In string.split(), honor maxsplit (if > 0).
In string.splitfields(), ignore maxsplit if <= 0, rather than ignoring
maxsplit=0 but effectively treating negative numbers the same as
maxsplit=1.  Also made the test for maxsplit slightly more efficient
(set it to the length of the string when <= 0 so the test for its
presence can be omitted from the loop).
1997-12-01 15:25:19 +00:00
..
dos-8x3 The usual 1997-11-26 15:44:34 +00:00
lib-old Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
lib-stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
lib-tk bind_class should return a value 1997-11-22 21:49:56 +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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
plat-irix6 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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 Use ``0'' instead of ``None'' to reset the underlying object in close 1997-11-04 17:32:59 +00:00
test Added tests of strop.replace() 1997-11-29 00:25:30 +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
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
Makefile Remove .pyo files like .pyc files. 1997-10-20 23:16:58 +00:00
MimeWriter.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
Para.py Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
Queue.py (Queue.Empty): When class based exceptions are in force, derive this 1997-11-20 19:56:38 +00:00
SimpleHTTPServer.py Get rid of nobody_uid() and import pwd -- not used here. 1996-09-04 23:42:04 +00:00
SocketServer.py No longer need to be very careful with saving the exception state 1997-09-29 23:17:48 +00:00
StringIO.py Patch by Lars Wirzenius to allow f.readline(length). 1997-07-25 14:56:01 +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
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
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
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.py Use __dict__.update(state) instead of for loop over state.items() and 1997-10-26 17:00:25 +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 Added docstrings (contributed by Martin von Loewis). 1997-11-18 15:47:55 +00:00
dospath.py islink() returns false, but there is no constant false! Return 0 instead. 1997-11-04 18:40:53 +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
fileinput.py A new standard module, as discussed on comp.lang.python, to simplify 1997-11-21 17:12:59 +00:00
find.py changes for the Mac 1995-01-27 02:41:45 +00:00
fmt.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
fnmatch.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
formatter.py Removed unneeded imports of regex and regsub. 1997-10-22 20:50:37 +00:00
fpformat.py re -> regex conversions by Sjoerd. 1997-10-24 14:46:16 +00:00
ftplib.py Use re instead of regex. Also remove bogus return statement from __init__(). 1997-10-22 20:49:52 +00:00
getopt.py Layout and cleanup by Fred 1996-09-11 19:43:52 +00:00
glob.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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 Added pgrep() function, which is like grep/egrep/emgrep but uses Perl 1997-10-22 20:44:58 +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 Remove redundant import regsub. 1997-10-23 17:50: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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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
locale.py Add Martin von Loewis as the author of this module. 1997-11-19 19:02:09 +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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
mailcap.py Change by Andrew Kuchling (edited by Guido): 1997-03-25 21:58:08 +00:00
mhlib.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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
mimify.py New version from Sjoerd, small bugfix + optimizations. 1997-10-30 15:27: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 Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
ni1.py Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
nntplib.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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 _Environ(): Added __getinitargs__() method so os.environ.copy() works, 1997-12-01 04:30:19 +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
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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
pty.py New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
py_compile.py Use fstat if we can; write MAGIC into file last. 1997-11-22 21:48:26 +00:00
pyclbr.py re -> regex conversions by Sjoerd. 1997-10-24 14:46:16 +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 Bugfix in match() -- the number of registers shouldn't be divided by two! 1997-10-27 18:17:19 +00:00
re1.py New "re" regular expression support. 1997-10-06 14:45:17 +00:00
reconvert.py New module -- converts regex regular expressions to re style. 1997-10-23 22:43:50 +00:00
regex_syntax.py Added "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS -- 1997-10-22 16:28: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 Add pcre to the list of safe modules. 1997-10-22 20:56:32 +00:00
rfc822.py New address parser by Ben Escoto replaces 1997-11-22 21:49:19 +00:00
rlcompleter.py Removed some unneeded imports, moved others around. 1997-10-22 20:52:53 +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 Although it's hard to be sure, I *think* this is a working conversion 1997-10-23 19:09:21 +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
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
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 In string.split(), honor maxsplit (if > 0). 1997-12-01 15:25:19 +00:00
stringold.py In string.split(), honor maxsplit (if > 0). 1997-12-01 15:25:19 +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 Remove outdated comments. 1997-10-22 20:54:50 +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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
tokenize.py New, fixed version with proper r"..." and R"..." support from Ka-Ping. 1997-10-27 21:17:24 +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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
urllib.py Assert that the proxies object passed in to the URLopener constructor 1997-11-18 15:50:39 +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
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
xmllib.py Fixed case sensitivity of attributes (they are case *sensitive*). 1997-11-18 15:27:20 +00:00
zmod.py New == syntax 1992-01-01 19:35:13 +00:00