cpython/Lib
Neal Norwitz 914a81841f Get doctest to pass. The problem was int/int -> float now. There
were some cases where an int was assumed.

Also had to change the string of the exception when dividing and int by zero.
Not sure what the best error message should be.  Currently
  5 / 0 yields the message: ZeroDivisionError: float division

That isn't entirely correct.  But I'm not sure what else to do.
2006-03-22 09:20:30 +00:00
..
bsddb Remove apply() 2006-03-17 08:00:19 +00:00
compiler INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used). 2006-03-17 08:59:09 +00:00
ctypes Plug some refcount leaks when tests are run repeatedly. 2006-03-13 10:47:02 +00:00
curses [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within the text box 2005-06-02 00:10:04 +00:00
distutils Remove apply() 2006-03-17 08:00:19 +00:00
email Actually this file should have svn:eol-style CRLF since it's specifically 2006-03-04 04:55:02 +00:00
encodings Checkpoint. 218 tests are okay; 53 are failing. Done so far: 2006-03-15 04:58:47 +00:00
hotshot
idlelib Remove apply() 2006-03-17 08:00:19 +00:00
lib-old Removed deprecated tzparse module. 2004-12-05 11:38:18 +00:00
lib-tk Remove sys.exc_type, sys.exc_value, sys.exc_traceback 2006-03-17 05:49:33 +00:00
logging More apply() cleanup 2006-03-17 08:28:24 +00:00
msilib Import bdist_msi 2006-03-05 13:36:04 +00:00
plat-aix3
plat-aix4
plat-atheos Repair bizarre generated Python. 2004-07-18 06:35:21 +00:00
plat-beos5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-darwin
plat-freebsd2
plat-freebsd3
plat-freebsd4
plat-freebsd5
plat-freebsd6 Whitespace normalization. 2004-08-20 03:47:14 +00:00
plat-freebsd7 Whitespace normalization. 2005-07-17 23:16:17 +00:00
plat-generic
plat-irix5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-irix6 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-linux2 Repair bizarre generated Python. 2004-07-18 06:35:21 +00:00
plat-mac Damn another occurrence of using as as a keywordf 2006-03-22 07:12:41 +00:00
plat-netbsd1 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-next3
plat-os2emx Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-riscos Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
plat-sunos5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-unixware7 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
site-packages
test Get doctest to pass. The problem was int/int -> float now. There 2006-03-22 09:20:30 +00:00
xmlcore Whitespace normalization. 2005-12-25 23:18:31 +00:00
BaseHTTPServer.py Typo fix 2006-03-07 16:16:07 +00:00
Bastion.py
CGIHTTPServer.py SF patch #1055159 via Titus Brown: Document redirect limitation. 2004-12-22 14:19:09 +00:00
ConfigParser.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Cookie.py Correct test suite for #848017. 2005-08-25 07:32:42 +00:00
DocXMLRPCServer.py Reduce the usage of the types module. 2005-02-07 14:16:21 +00:00
HTMLParser.py Reverting previous checkin. This breaks too much of HTMLParser to be applied 2005-09-01 06:25:34 +00:00
MimeWriter.py
Queue.py Simplified the new get/get_nowait/put/put_nowait implementations a bit. 2004-07-12 01:20:32 +00:00
SimpleHTTPServer.py Patch #1417555: SimpleHTTPServer now returns Last-Modified headers. 2006-02-17 13:34:16 +00:00
SimpleXMLRPCServer.py Remove sys.exc_type, sys.exc_value, sys.exc_traceback 2006-03-17 05:49:33 +00:00
SocketServer.py bug [ 957505 ] SocketServer module documentation misleading 2005-07-18 07:38:44 +00:00
StringIO.py SF bug #951915: fix bug in StringIO.truncate - length not changed 2004-12-20 23:51:53 +00:00
UserDict.py - Patch 1433928: 2006-02-25 22:38:04 +00:00
UserList.py
UserString.py Whitespace normalization. 2005-03-28 01:08:02 +00:00
_LWPCookieJar.py Fix SF #1117398, cookielib LWPCookieJar and MozillaCookieJar exceptions 2005-12-23 21:24:35 +00:00
_MozillaCookieJar.py Fix SF #1117398, cookielib LWPCookieJar and MozillaCookieJar exceptions 2005-12-23 21:24:35 +00:00
__future__.py Make __future__ features similar for with and absolute import since they were both added before a1 2006-02-28 20:02:42 +00:00
__phello__.foo.py
_strptime.py Change time.strptime() to raise ValueError whenever there is an error in the 2005-11-02 23:04:26 +00:00
_threading_local.py Fix some comment typos 2005-11-25 02:02:50 +00:00
aifc.py
anydbm.py
asynchat.py [Patch #1002763] Allow long ints as terminator values; also, treat a terminator of 0 like the empty string or None 2005-06-09 14:59:45 +00:00
asyncore.py No need to import exceptions, they are builtins 2005-09-01 00:45:28 +00:00
atexit.py SF bug #1083202L UnboundLocalError raised by atexit module 2004-12-11 02:49:40 +00:00
audiodev.py
base64.py [Patch #1171487, bug #1170331] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works 2005-06-08 22:51:38 +00:00
bdb.py Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made 2004-11-07 11:35:30 +00:00
binhex.py Remove a useless operation, setting name to itself 2004-06-07 03:45:56 +00:00
bisect.py
cProfile.py Added the cProfile module. 2006-02-08 12:53:56 +00:00
calendar.py SF bug #1193890: calendar.weekheader not found in __all__ 2005-05-10 03:20:12 +00:00
cgi.py Reverted revision 1.83, which introduced a bug and subtle incompatibility 2005-09-19 09:11:04 +00:00
cgitb.py Merge ast-branch to head 2005-10-20 19:59:25 +00:00
chunk.py Patch #1373643: The chunk module can now read chunks larger than 2006-02-18 21:10:56 +00:00
cmd.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
code.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
codecs.py If size is specified, try to read at least size characters. 2006-03-06 22:39:12 +00:00
codeop.py
colorsys.py r879@spiff: Fredrik | 2005-11-12 14:38:03 +0100 2005-11-12 15:21:05 +00:00
commands.py
compileall.py Bugs item #1069409 C:\Python24\Lib\compileall.py returns False 2004-12-20 00:29:29 +00:00
contextlib.py Um, I thought I'd already checked this in. 2006-03-10 02:28:35 +00:00
cookielib.py Whitespace normalization. 2005-12-25 23:18:31 +00:00
copy.py Whitespace normalization. 2006-02-26 04:21:50 +00:00
copy_reg.py Checkpoint. 218 tests are okay; 53 are failing. Done so far: 2006-03-15 04:58:47 +00:00
csv.py Fix a delimiter detection problem in sniffer. Sniffing "a|b|c\r\n" was 2005-12-30 05:09:48 +00:00
dbhash.py
decimal.py Um, I thought I'd already checked this in. 2006-03-10 02:28:35 +00:00
difflib.py Patch #1413711: Certain patterns of differences were making difflib 2006-01-31 18:34:13 +00:00
dircache.py
dis.py
doctest.py Fix test cases for doctest. 2005-06-26 23:09:51 +00:00
dumbdbm.py [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace. 2005-06-07 19:36:10 +00:00
dummy_thread.py
dummy_threading.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
filecmp.py Removed deprecated use_statcache argument. 2004-12-05 01:58:09 +00:00
fileinput.py Whitespace normalization. 2006-02-19 21:26:07 +00:00
fnmatch.py
formatter.py remove the other half of one of the regsub-related comments; the other 2004-12-07 14:08:24 +00:00
fpformat.py
ftplib.py SF bug #1168983: ftplib.py string index out of range 2005-04-05 04:31:09 +00:00
getopt.py
getpass.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
gettext.py Patch #1349274: gettext.install() now optionally installs additional 2006-02-19 13:26:36 +00:00
glob.py Patch #943206: 2005-01-08 13:13:19 +00:00
gopherlib.py Changed the new deprecation warning to show the 2006-02-18 04:00:23 +00:00
gzip.py [Bug #1074261, patch #1074381] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin 2005-06-09 14:19:32 +00:00
hashlib.py Whitespace normalization (via reindent.py). 2005-08-26 15:20:46 +00:00
heapq.py Add key= argument to heapq.nsmallest() and heapq.nlargest(). 2004-12-02 08:59:14 +00:00
hmac.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
htmlentitydefs.py
htmllib.py clean up the API a little; exceptions are defined by this module 2004-09-09 02:24:13 +00:00
httplib.py Move "httpresponses" dict from urllib2 to httplib where it belongs. 2006-02-17 19:17:25 +00:00
ihooks.py ihooks FancyModuleLoader.load_module() 2004-08-04 02:29:12 +00:00
imaplib.py updated __version__ 2005-08-31 10:50:03 +00:00
imghdr.py SF #75103: imghdr -- identify JPEGs in EXIF format 2005-01-07 08:15:41 +00:00
imputil.py ihooks FancyModuleLoader.load_module() 2004-08-04 02:29:12 +00:00
inspect.py some more fixes and tests for inspect.getsource(), triggered by crashes 2005-09-25 11:45:45 +00:00
keyword.py Regenerate. 2006-02-28 22:50:17 +00:00
linecache.py SF #737473: Show up-to-date source code in tracebacks always. 2004-10-26 09:16:42 +00:00
locale.py Whitespace normalization. 2006-01-20 20:03:24 +00:00
macpath.py Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +00:00
macurl2path.py Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
mailbox.py Patch #880621: the last message of a Babyl mailbox ends in '\037' instead of 2004-08-21 12:30:26 +00:00
mailcap.py
markupbase.py Bug #1442874: handle "<!>", the empty SGML comment 2006-03-09 13:27:14 +00:00
md5.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
mhlib.py Replace list of constants with tuples of constants. 2005-02-06 06:57:08 +00:00
mimetools.py
mimetypes.py add two more extensions: 2005-03-15 15:52:08 +00:00
mimify.py
modulefinder.py Fix SF item #876278: Unbounded recursion in modulefinder. 2004-05-11 15:10:59 +00:00
multifile.py Stacks based on lists work better and read more clearly when they 2004-05-04 08:21:52 +00:00
mutex.py
netrc.py
new.py
nntplib.py - Bug #1015140: disambiguated the term "article id" in nntplib docs and 2005-07-17 20:27:41 +00:00
ntpath.py Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +00:00
nturl2path.py Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
opcode.py INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used). 2006-03-17 08:59:09 +00:00
optparse.py Reduce the usage of the types module. 2005-02-07 14:16:21 +00:00
os.py Patch #1410998: remove "DOS" from os.py docstring 2006-01-20 21:36:02 +00:00
os2emxpath.py Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +00:00
pdb.doc bug #989672: pdb.doc and the help messages for the help_d and help_u methods 2004-08-14 15:19:28 +00:00
pdb.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
pickle.py Revert previous checkin. 2005-02-07 15:28:45 +00:00
pickletools.py An instance of class PicklingError was used here simply as an example of 2005-02-15 16:22:34 +00:00
pipes.py
pkgutil.py
platform.py Generalize buildno to be a sequence of non-comma 2006-01-06 00:44:11 +00:00
popen2.py Fix typo 2005-02-10 13:24:50 +00:00
poplib.py bug [ 1252706 ] poplib list() docstring fix (and docs too) 2005-08-05 21:01:58 +00:00
posixfile.py Add support for FreeBSD 7. 2005-07-17 02:36:59 +00:00
posixpath.py Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +00:00
pprint.py Change PrettyPrinter.pprint(), so that output is written directly to the 2005-11-11 18:18:51 +00:00
profile.py test and fix for buggy handling of exceptions raised by C functions, 2005-09-20 18:50:13 +00:00
pstats.py Added the cProfile module. 2006-02-08 12:53:56 +00:00
pty.py Removed no-longer-needed convolutions to recover from damaged modules 2004-08-02 03:55:18 +00:00
py_compile.py Patch #1171150: add a newline to py_compile error output 2005-06-10 17:15:18 +00:00
pyclbr.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
pydoc.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
quopri.py
random.py Whitespace normalization (via reindent.py). 2005-08-26 15:20:46 +00:00
re.py
reconvert.py allow triple-quoted string output from reconvert.quote() 2005-01-16 19:31:40 +00:00
regex_syntax.py
regsub.py
repr.py Committing Tim's patch for SF bug #983585: 2004-07-01 20:28:47 +00:00
rexec.py Get rid of xreadlines() (methods). 2006-03-17 08:29:44 +00:00
rfc822.py Convert splitlines to for-loop (handles case where input does not have a trailing newline). 2005-02-08 15:39:11 +00:00
rlcompleter.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
robotparser.py Patch #1014237: Consistently return booleans throughout. 2004-08-23 20:42:35 +00:00
sched.py Refactor: 2004-12-17 13:52:20 +00:00
sets.py Teach the sets module to correctly compute s-=s and s^=s as the empty set. 2005-08-13 02:29:58 +00:00
sgmllib.py add name that should be considered public to __all__ 2004-09-09 01:49:58 +00:00
sha.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
shelve.py Removed deprecated method arguments from the shelve module. 2004-12-05 03:58:17 +00:00
shlex.py
shutil.py No need to import exceptions, they are builtins 2005-09-01 00:45:28 +00:00
site.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
smtpd.py Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. 2004-10-09 21:44:13 +00:00
smtplib.py Bug #1430298: It is now possible to send a mail with an empty 2006-02-17 09:52:53 +00:00
sndhdr.py
socket.py Fix test for socket.getfqdn() to also include the name returned by 2005-03-11 00:04:17 +00:00
sre.py Speed-up escape() 2005-09-12 22:50:37 +00:00
sre_compile.py [Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre Malo for the fix. 2005-06-02 13:35:52 +00:00
sre_constants.py PEP 292 classes Template and SafeTemplate are added to the string module. 2004-08-25 02:22:30 +00:00
sre_parse.py Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than 2005-09-14 08:54:39 +00:00
stat.py
statvfs.py
string.py Remove outdated references to the regsub module. 2004-12-07 07:55:07 +00:00
stringold.py More apply() cleanup 2006-03-17 08:28:24 +00:00
stringprep.py Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
subprocess.py Remove apply() 2006-03-17 08:00:19 +00:00
sunau.py
sunaudio.py
symbol.py PEP 343 -- the with-statement. 2006-02-27 22:32:47 +00:00
symtable.py Get symtable to limp along, can run compiler/symbols.py. Not saying much, needs more work. 2005-11-25 03:14:00 +00:00
tabnanny.py
tarfile.py Patch #1338314, Bug #1336623: fix tarfile so it can extract 2005-10-28 05:52:22 +00:00
telnetlib.py Quote docstring with r"" to keep '\r\n' in example code. 2005-09-07 07:40:05 +00:00
tempfile.py SF bug #1099516: tempfile files not types.FileType 2005-01-11 15:33:03 +00:00
textwrap.py textwrap now processes text chucks at O(n) speed instead of O(n**2). 2005-07-15 06:53:35 +00:00
this.py
threading.py Um, I thought I'd already checked this in. 2006-03-10 02:28:35 +00:00
timeit.py
toaiff.py
token.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
tokenize.py SF bug #1224621: tokenize module does not detect inconsistent dedents 2005-06-21 07:43:58 +00:00
trace.py fix typos, mostly in comments 2005-10-28 14:39:47 +00:00
traceback.py Remove sys.exc_type, sys.exc_value, sys.exc_traceback 2006-03-17 05:49:33 +00:00
tty.py
types.py Oops! Restored the pickle test to test_pyclbr, but changed types.py so 2004-07-18 00:08:11 +00:00
unittest.py Patch #1388073: Make unittest.TestCase easier to subclass 2006-01-20 17:55:00 +00:00
urllib.py Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
urllib2.py Suppress new deprecation warnings when running the 2006-02-18 04:14:16 +00:00
urlparse.py Bug #1407902: Added support for sftp:// URIs to urlparse. 2006-01-20 17:24:23 +00:00
user.py
uu.py Use optparse instead of getopt for command line options. 2005-11-22 14:12:21 +00:00
warnings.py PEP 352 implementation. Creates a new base class, BaseException, which has an 2006-03-01 04:25:17 +00:00
wave.py Fix SF #1001053, wave.open() with unicode filename fails 2004-08-01 22:48:06 +00:00
weakref.py Bug #1196315: fix weakref.WeakValueDictionary constructor. 2005-06-04 09:20:03 +00:00
webbrowser.py Whitespace normalization. 2006-01-20 23:40:56 +00:00
whichdb.py Replace list of constants with tuples of constants. 2005-02-06 06:57:08 +00:00
xdrlib.py patch [ 1300515 ] xdrlib.py: pack_fstring() did not use null bytes for padding 2005-09-29 20:49:16 +00:00
xml.py move the xml package implementation to xmlcore, and adjust the tests to 2005-12-14 06:20:35 +00:00
xmllib.py Do not use the default namespace for attributes. 2004-05-02 20:37:13 +00:00
xmlrpclib.py [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit string, not a Unicode string 2005-12-04 19:11:17 +00:00
zipfile.py Bug #1413790: zipfile now sanitizes absolute archive names that are 2006-02-20 08:40:38 +00:00