cpython/Lib
Barry Warsaw 9dd7872945 Added new exception classes:
NNTPError - derived from Exception, it's the base class for all
    other exceptions in this module

    NNTPReplyError - what used to be error_reply

    NNTPTemporaryError - what used to be error_temp

    NNTPPermanentError - what used to be error_perm

    NNTPProtocolError - what used to be error_proto

    NNTPDataError - what used to be error_data

All the old names are retained for backwards compatibility; they point
to the class that replaces them.  Also, any code in this module that
raises an exception, now does so with the exception class.

NNTP.__init__(): Added a new optional argument `readermode', which is
a flag that defaults to false.  When set to true, the "mode reader"
command is sent to the NNTP server before user authentication.  Reader
mode is sometimes necessary if you are connecting to an NNTP server on
the local machine and intend to call reader-specific comamnds, such as
`group'.  If you get unexpected NNTPPermanentErrors, you might need to
set readermode.  Patch provided by Thomas Wouters (who include the
standard disclaimer on is patches@python.org submission), and inspired
by Jim Tittsler.
2000-02-10 20:25:53 +00:00
..
compiler add namespace attr to CodeGenerator, can be either MODULE_NAMESPACE or 2000-02-10 17:20:39 +00:00
distutils Stylistic changes to the registry-grovelling code: code formatting, changed 2000-02-10 02:52:42 +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 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 More generated files for netbsd 1.x, by Anders Andersen. 1997-12-03 18:44:57 +00:00
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 Make this pass the -tt test. 2000-02-10 15:31:07 +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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
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 Remove .pyo files like .pyc files. 1997-10-20 23:16:58 +00:00
MimeWriter.py Run the self-test (test.test_MimeWriter) when invoked as a script. 1998-04-23 13:34:57 +00:00
Queue.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +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 Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
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
aifc.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +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 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
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
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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
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 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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
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 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +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 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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +00:00
mailcap.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +00:00
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 Added new exception classes: 2000-02-10 20:25:53 +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
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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +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 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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +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
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
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 Detabify. 2000-02-10 16:21:11 +00:00
stringold.py Untabify to pass the -tt test. 2000-02-10 17:17:14 +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 Differentiate between NEWLINE token (an official newline) and NL token 1998-04-03 16:05:38 +00:00
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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +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 Untabify to pass the -tt test. 2000-02-10 17:17:14 +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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
xmllib.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00