cpython/Lib
Guido van Rossum 80c33e562d Contribution from Gerrit Holl:
This patch changes the string-based exceptions to class-based
exceptions, so that you can fetch the unknown option as an
attribute.  As far as I know, it is backward compatible.

[The new exception class is called GetoptError; the name error is an
alias for compatibility.]
1999-12-21 22:38:40 +00:00
..
distutils When emitting a command-line error message, *say* it's an error. 1999-12-16 01:19:05 +00:00
dos-8x3 The usual 1999-04-08 20:27:54 +00:00
lib-old Dang. Even though this is obsolete code, somebody found a bug, and I 1999-02-22 15:19:47 +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 New files from Thomas Gellekum 1998-05-06 15:14:36 +00:00
plat-freebsd3 New files from Thomas Gellekum 1998-05-06 15:14:36 +00:00
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 Added table of WSA error codes. 1998-05-06 13:48:04 +00:00
test Test output. 1999-10-19 19:09:00 +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
CGIHTTPServer.py os.fork raises AttributeError, not NameError, if fork() isn't 1999-10-18 13:43:44 +00:00
ConfigParser.py fixed a typo in a docstring, and slightly expanded the module 1999-10-12 16:12:48 +00:00
Makefile
MimeWriter.py Run the self-test (test.test_MimeWriter) when invoked as a script. 1998-04-23 13:34:57 +00:00
Queue.py Make the maxsize constructor argument default to 0 (an unlimited queue size). 1999-09-09 14:54:28 +00:00
SimpleHTTPServer.py Moshe Zadka writes: When deploying SimpleHTTPServer, I noticed a 1999-11-16 19:04:32 +00:00
SocketServer.py update to use threading module instead of thread. 1999-10-12 16:20:13 +00:00
StringIO.py Raise the right exception (ValueError) for attempted I/O on closed StringIO 1998-08-18 17:43:08 +00:00
UserDict.py Improved a bunch of things. 1999-03-26 15:31:12 +00:00
UserList.py Use isinstance() where appropriate. 1999-03-26 16:20:18 +00:00
aifc.py Sjoerd Mullender writes: 1999-08-26 15:50:43 +00:00
anydbm.py Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment 1998-04-28 15:23:09 +00:00
asynchat.py Put Sam Rushing's original RCS ID string back, without dollars around it. 1999-09-14 20:17:50 +00:00
asyncore.py Put Sam Rushing's original RCS ID string back, without dollars around it. 1999-09-14 20:16:00 +00:00
audiodev.py Clarify why there are dynamic imports in AudioDev(). 1999-05-03 18:04:07 +00:00
base64.py Fixed spelling in comment: "RFC", not "RFX". 1998-05-22 18:18:08 +00:00
bdb.py canonic(): This used to be equivalent to str() but that caused too 1999-09-09 23:24:33 +00:00
binhex.py
bisect.py
builtin.py
calendar.py Add unrelated but handy function: timegm(), to calculate Unix 1999-06-09 15:07:38 +00:00
cgi.py After more discussion with Jim, change the behavior so that only a 1999-06-11 18:26:09 +00:00
chunk.py Sjoerd Mullender writes: 1999-08-26 15:50:43 +00:00
cmd.py No need to import sys or linecache. (Andrew Dalke & kjpylint) 1999-05-03 18:08:16 +00:00
cmp.py Patch by Mikael Lyngvig: 1999-06-25 14:12:50 +00:00
cmpcache.py Mikael Lyngvig writes: 1999-06-25 14:21:44 +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
copy.py Don't die if CodeType doesn't exist -- ignore the error. This could 1999-01-25 21:37:02 +00:00
copy_reg.py
dbhash.py Clarify why we define error. Suggested by Andrew Dalke. 1999-05-03 18:09:26 +00:00
dircache.py
dircmp.py
dis.py Clarify why we define disco. Suggested by Andrew Dalke. 1999-05-03 18:09:53 +00:00
dospath.py New code for split() by Tim Peters, behaves more like posixpath.split(). 1999-03-19 21:05:12 +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 New module by Moshe Zadka (submitted on Sept. 25). This unifies the 1999-10-26 14:02:01 +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 DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to 1999-01-12 18:13:27 +00:00
fpformat.py Fix for PR#74 -- use int() instead of eval() to extract the exponent. 1999-09-10 14:34:48 +00:00
ftplib.py Patches by Michael Reilly to correctly deal with ftp URLs of the form 1999-08-18 21:51:10 +00:00
getopt.py Contribution from Gerrit Holl: 1999-12-21 22:38:40 +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
gzip.py Fixed 'return EOFError' that should be 'raise EOFError', caught by 1999-09-06 16:34:51 +00:00
htmlentitydefs.py New version by Mark-Andre Lemburg (generated by a script, parseentities.py). 1999-08-19 15:59:35 +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 Support loading of packages. (I had this coded up for a while but 1998-06-29 20:31:16 +00:00
imaplib.py V 2.16 from Piers: 1999-12-13 23:27:45 +00:00
imghdr.py
imputil.py look for builtins before stuff on the path. 1999-11-24 02:38:37 +00:00
keyword.py
knee.py
linecache.py
locale.py
macpath.py getsize(), getatime(), getmtime(): 1999-07-23 15:04:05 +00:00
macstat.py
macurl2path.py Jack Jansen's patch to support file:///path/file/name URL syntax. 1999-06-01 14:36:56 +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
mhlib.py Patch by Lars Wirzenius: 1999-02-24 16:25:17 +00:00
mimetools.py Use random instead of whrandom. 1998-05-20 17:05:52 +00:00
mimetypes.py Map .js to application/x-javascript. 1999-05-20 12:52:04 +00:00
mimify.py [Sjoerd Mullender] 1998-08-07 15:26:56 +00:00
multifile.py # Make tabnanny happy. 1998-06-29 17:58:43 +00:00
mutex.py
netrc.py No need to import sys or string. (Andrew Dalke & kjpylint) 1999-05-03 18:10:37 +00:00
newimp.py
nntplib.py Marc-Andre Lemburg notes about statparse(): 1998-12-21 18:51:23 +00:00
ntpath.py In abspath(), always use normpath(), even when win32api is available 1999-11-30 15:00:00 +00:00
nturl2path.py Sjoerd Mullender writes: 1999-03-18 14:21:41 +00:00
os.py Oops. spawnl() and spawnle() should be implemented on Windows too. 1999-11-02 20:44:07 +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 Sjoerd Mullender writes: 1999-11-03 13:10:07 +00:00
persist.py
pickle.py Jeremy writes: 1999-10-10 21:14:25 +00:00
pipes.py No need to import os in test(). (Andrew Dalke & kjpylint) 1999-05-03 18:12:36 +00:00
popen2.py Calling _cleanup() does not guarantee that all processes have 1999-04-20 12:27:31 +00:00
poplib.py POP3.uidl(): Update docstring based on comments from Piers Lauder 1999-05-13 18:47:25 +00:00
posixfile.py According to Craig H Rowland, openbsd2 is yet another BSD variant that 1999-12-06 14:51:05 +00:00
posixpath.py Correct typo in walk.__doc__ reported by Francois Pinard. 1999-11-02 13:29:08 +00:00
pprint.py Fix indent error in __format(): del context[objid] at the end should 1999-09-02 15:09:44 +00:00
profile.doc
profile.py Typo. (Andrew Dalke, without kjpylint) 1999-05-03 18:13:29 +00:00
pstats.py Fix mysterious references to jprofile that were in the source since 1999-04-13 04:24:22 +00:00
pty.py No need to import sys. (Andrew Dalke & kjpylint) 1999-05-03 18:13:51 +00:00
py_compile.py Fix two bugs in the fstat() line, reported by Fredruk Lundh. 1998-10-07 14:06:03 +00:00
pyclbr.py Suppress warning print statements about modules not found, they are 1999-06-16 12:28:12 +00:00
quopri.py
random.py Add Tim Peters' shuffle() algorithm. 1999-08-18 13:53:28 +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
regsub.py
repr.py Small patch by Tim Peters - it was using self.maxlist when it should 1999-06-23 23:27:05 +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 PR#3, submitted by Skip Montanaro: if no space appears after the 1999-10-06 15:19:19 +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 Give in to tabnanny 1998-04-06 14:29:28 +00:00
sched.py While we're at it, convert to docstrings and set the indentation level 1999-06-25 18:53:23 +00:00
sgmllib.py Allow recognition of attributes even if they don't have space in front 1999-01-25 21:57:07 +00:00
shelve.py Patch by Paul Sokolovsky to support the get() method. 1999-08-11 01:54:05 +00:00
shlex.py No need to import os or string. (Andrew Dalke & kjpylint) 1999-05-03 18:14:16 +00:00
shutil.py Typo in comment (on Mac, it's the *resource* fork that's not copied, 1999-08-18 20:03:17 +00:00
site.py Wrong pathname in docstring detected by Fredrik Nehr. 1998-11-25 15:57:47 +00:00
smtplib.py A bunch of docstring fixes. 1999-11-28 17:11:06 +00:00
sndhdr.py Move brief descriptions of what() and whathdr() to docstrings in the 1999-01-06 15:20:49 +00:00
stat.py
statcache.py
statvfs.py Patch by Steve Clift -- fix the indices now that f_fsid is no longer returned! 1999-02-10 13:12:07 +00:00
string.py split() docstring: Made signature and description for the first 1999-11-04 19:19:48 +00:00
stringold.py Mainlining the string_methods branch. See branch revision log 1999-10-12 19:54:53 +00:00
sunau.py Make the mode parameter to open() default in the same way as for wave.open(). 1999-06-22 21:23:23 +00:00
sunaudio.py
symbol.py
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 In class TemporaryFileWrapper, don't cache attributes of tpye int -- 1999-06-01 18:55:36 +00:00
threading.py Duncan Grisby noted a typo in _DummyThread. 1999-09-29 15:26:52 +00:00
toaiff.py Use sndhdr instead of the obsolete whatsound module. 1999-02-24 18:49:15 +00:00
token.py
tokenize.py Differentiate between NEWLINE token (an official newline) and NL token 1998-04-03 16:05:38 +00:00
traceback.py
tty.py
types.py Added BufferType, the type returned by the new builtin buffer(). Greg Stein. 1999-03-19 19:08:03 +00:00
tzparse.py
urllib.py OpenSSL support. This is based on patches for a version of SSLeay by 1999-12-07 21:37:17 +00:00
urlopen.py
urlparse.py No need to import find(). (Andrew Dalke & kjpylint) 1999-05-03 18:16:23 +00:00
user.py
uu.py Incorporate fix suggested by /Fredrik Lundh in the newsgroup to cope 1999-01-05 18:02:24 +00:00
wave.py Sjoerd Mullender writes: 1999-08-26 15:50:43 +00:00
whichdb.py Skip Montanaro: 1999-06-08 13:13:16 +00:00
whrandom.py Fixed a few lines that tabnanny complained about (one space before the 1998-08-10 20:07:53 +00:00
xdrlib.py
xmllib.py Sjoerd Mullender writes: 1999-08-26 15:52:33 +00:00