cpython/Lib
Andrew Dalke e5488ec01e Added a slew of test for string replace, based various corner cases from
the Need For Speed sprint coding.  Includes commented out overflow tests
which will be uncommented once the code is fixed.

This test will break the 8-bit string tests because
    "".replace("", "A") == "" when it should == "A"

We have a fix for it, which should be added tomorrow.
2006-05-24 18:55:37 +00:00
..
bsddb BaseThreadedTestCase.setup(): stop special-casing WindowsError. 2006-05-11 16:37:42 +00:00
compiler Bug #1385040: don't allow "def foo(a=1, b): pass" in the compiler package. 2006-05-03 18:18:32 +00:00
ctypes add svn:eol-style native svn:keywords Id 2006-05-12 19:31:46 +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 Whitespace normalization. 2006-05-23 21:54:23 +00:00
email Port forward from 2.4 branch: 2006-05-01 03:03:02 +00:00
encodings Add a BufferedIncrementalEncoder class that can be used for implementing 2006-04-14 18:25:39 +00:00
hotshot
idlelib 2.5a2 2006-04-27 02:11:24 +00:00
lib-tk Whitespace normalization. 2006-05-18 02:06:40 +00:00
logging Changed status from "beta" to "production"; since logging has been part of the stdlib since 2.3, it should be safe to make this assertion ;-) 2006-05-18 07:28:58 +00:00
msilib Rename parameters to match the documentation (which 2006-05-01 16:14:16 +00:00
plat-aix3
plat-aix4
plat-atheos
plat-beos5
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
plat-irix6
plat-linux2
plat-mac Whitespace normalization. 2006-05-16 23:22:20 +00:00
plat-netbsd1
plat-next3
plat-os2emx
plat-riscos Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
plat-sunos5
plat-unixware7
site-packages
sqlite3 Updated the sqlite3 module to the external pysqlite 2.2.2 version. 2006-04-23 15:24:26 +00:00
test Added a slew of test for string replace, based various corner cases from 2006-05-24 18:55:37 +00:00
xmlcore remove more cruft no longer needed 2006-04-06 01:32:26 +00:00
__future__.py I could have sworn this was part of the change to not abbreviate ABSOLUTE 2006-04-03 06:58:51 +00:00
__phello__.foo.py
_LWPCookieJar.py Remove unused import. 2006-05-18 06:18:06 +00:00
_MozillaCookieJar.py Remove unused import. 2006-05-18 06:18:06 +00:00
_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 Finally figured out why this module did its imports at the 2006-04-18 03:28:32 +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
BaseHTTPServer.py Typo fix 2006-03-07 16:16:07 +00:00
Bastion.py
bdb.py Patch #721464: pdb.Pdb instances can now be given explicit stdin and 2006-05-10 17:13:20 +00:00
binhex.py
bisect.py
calendar.py Get rid of __context__, per the latest changes to PEP 343 and python-dev 2006-05-02 19:47:52 +00:00
cgi.py Reverted revision 1.83, which introduced a bug and subtle incompatibility 2005-09-19 09:11:04 +00:00
CGIHTTPServer.py SF patch #1055159 via Titus Brown: Document redirect limitation. 2004-12-22 14:19:09 +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
code.py
codecs.py Add a BufferedIncrementalEncoder class that can be used for implementing 2006-04-14 18:25:39 +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
ConfigParser.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
contextlib.py Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager() 2006-05-03 13:02:47 +00:00
Cookie.py Correct test suite for #848017. 2005-08-25 07:32:42 +00:00
cookielib.py Little cleanup 2006-05-18 06:51:46 +00:00
copy.py Whitespace normalization. 2006-02-26 04:21:50 +00:00
copy_reg.py Patch #1462313, bug #1443328: the pickle modules now can handle classes 2006-03-31 18:25:44 +00:00
cProfile.py Added the cProfile module. 2006-02-08 12:53:56 +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 Typo fix. 2006-05-11 19:57:09 +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 Patch #721464: pdb.Pdb instances can now be given explicit stdin and 2006-05-10 17:13:20 +00:00
DocXMLRPCServer.py Reduce the usage of the types module. 2005-02-07 14:16:21 +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 Get rid of __context__, per the latest changes to PEP 343 and python-dev 2006-05-02 19:47:52 +00:00
dummy_threading.py
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 Bug #1445068: getpass.getpass() can now be given an explicit stream 2006-03-31 18:42:16 +00:00
gettext.py Patch #1349274: gettext.install() now optionally installs additional 2006-02-19 13:26:36 +00:00
glob.py glob('anything*/') would fail because isdir is in os.path, not os. 2006-04-09 03:35:43 +00:00
gopherlib.py Changed the new deprecation warning to show the 2006-02-18 04:00:23 +00:00
gzip.py Apply revised patch for GzipFile.readline performance #1281707 2006-05-22 15:59:12 +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
HTMLParser.py Reverting previous checkin. This breaks too much of HTMLParser to be applied 2005-09-01 06:25:34 +00:00
httplib.py RFE #1472176: In httplib, don't encode the netloc and hostname with "idna" if not necessary. 2006-05-03 18:03:22 +00:00
ihooks.py
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 Bug #1481530: allow "from os.path import ..." with imputil 2006-05-04 05:08:10 +00:00
inspect.py Fix another problem in inspect: if the module for an object cannot be found, don't try to give its __dict__ to linecache. 2006-04-30 17:42:26 +00:00
keyword.py Regenerate. 2006-02-28 22:50:17 +00:00
linecache.py Adjust whitespace. 2006-04-11 07:21:20 +00:00
locale.py Whitespace normalization. 2006-05-18 02:06:40 +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 Change WindowsError to carry the Win32 error code in winerror, 2006-05-11 13:28:43 +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 Bug #1250170, Patch #1462230: handle socket.gethostname() 2006-03-31 17:18:06 +00:00
mimetypes.py Whitespace normalization. 2006-04-06 19:35:27 +00:00
MimeWriter.py
mimify.py
modulefinder.py
multifile.py
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 SF bug #1473760 TempFile can hang on Windows. 2006-04-21 21:18:10 +00:00
nturl2path.py Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
opcode.py PEP 343 -- the with-statement. 2006-02-27 22:32:47 +00:00
optparse.py Whitespace normalization. 2006-04-23 18:13:45 +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
pdb.py Patch #721464: pdb.Pdb instances can now be given explicit stdin and 2006-05-10 17:13:20 +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 Add some whitespace to be more consistent. 2006-04-28 04:32:20 +00:00
platform.py Teach platform about darwin/x86 2006-04-17 13:37:15 +00:00
popen2.py Clarify cases when waitpid might not return self.pid. 2006-03-24 08:26:26 +00:00
poplib.py In stdlib, use hashlib instead of deprecated md5 and sha modules. 2006-04-30 08:57:35 +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 Allow pstats.Stats creator to specify an alternate to stdout. 2006-04-21 02:31:07 +00:00
pty.py
py_compile.py Patch #1171150: add a newline to py_compile error output 2005-06-10 17:15:18 +00:00
pyclbr.py
pydoc.py Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools 2006-04-18 00:59:55 +00:00
Queue.py Don't decrement below zero. And add more tests. 2006-03-25 12:15:04 +00:00
quopri.py
random.py Another crack at bug #1460340: make random.sample(dict) 2006-04-01 00:26:53 +00:00
re.py Rename sre.py -> re.py 2006-03-16 06:30:02 +00:00
repr.py
rexec.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
rfc822.py Port forward from 2.4 branch: 2006-05-01 03:03:02 +00:00
rlcompleter.py Patch #1472854: make the rlcompleter.Completer class usable on non- 2006-04-30 18:14:54 +00:00
robotparser.py Patch #1014237: Consistently return booleans throughout. 2004-08-23 20:42:35 +00:00
runpy.py First phase of refactoring for runpy, pkgutil, pydoc, and setuptools 2006-04-17 20:17:25 +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 Whitespace normalization. 2006-04-03 02:46:44 +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 Bug #1472949: stringify IOErrors in shutil.copytree when appending 2006-04-28 16:54:25 +00:00
SimpleHTTPServer.py Patch #1417555: SimpleHTTPServer now returns Last-Modified headers. 2006-02-17 13:34:16 +00:00
SimpleXMLRPCServer.py Add explanatory message 2006-04-21 12:57:35 +00:00
site.py Adjust whitespace. 2006-04-11 07:21:20 +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 #1257988: don't bail out on gethostbyname(gethostname()) failure 2006-03-31 19:34:13 +00:00
sndhdr.py
socket.py Patch #1466993: remove wrong comment in socket.py 2006-04-09 14:28:13 +00:00
SocketServer.py bug [ 957505 ] SocketServer module documentation misleading 2005-07-18 07:38:44 +00:00
sre.py Spel compatibility write. 2006-03-16 06:33:21 +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
StringIO.py SF patch #1359365: file and cStringIO raise a ValueError when next() is called 2006-03-15 08:23:53 +00:00
stringold.py Remove outdated references to the regsub module. 2004-12-07 07:55:07 +00:00
stringprep.py Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
struct.py refactor unpack, add unpack_from 2006-05-24 15:32:06 +00:00
subprocess.py Try to fix breakage caused by patch #1479181, r45850 2006-05-02 06:23:22 +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 Whitespace normalization. 2006-05-19 19:16:34 +00:00
telnetlib.py Fix a couple of strings that were no-ops. urllib.open_file was a docstring 2006-04-09 04:00:49 +00:00
tempfile.py Change WindowsError to carry the Win32 error code in winerror, 2006-05-11 13:28:43 +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 Get rid of __context__, per the latest changes to PEP 343 and python-dev 2006-05-02 19:47:52 +00:00
timeit.py
toaiff.py
token.py
tokenize.py Insert a safety space after numbers as well as names in untokenize(). 2006-03-30 21:43:35 +00:00
trace.py Whitespace normalization. 2006-04-24 22:45:13 +00:00
traceback.py Fix the formatting of KeyboardInterrupt -- a bad issubclass() call. 2006-05-02 17:36:09 +00:00
tty.py
types.py
unittest.py Patch #1388073: Make unittest.TestCase easier to subclass 2006-01-20 17:55:00 +00:00
urllib.py Patch #1470976: don't NLST files when retrieving over FTP. 2006-04-30 09:23:59 +00:00
urllib2.py Little cleanup 2006-05-18 06:51:46 +00:00
urlparse.py Patch #624325: urlparse.urlparse() and urlparse.urlsplit() results 2006-04-01 22:14:43 +00:00
user.py
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
uu.py minor error in uudecode main error handling 2006-04-07 05:39:17 +00:00
warnings.py Updated the warnings, linecache, inspect, traceback, site, and doctest modules 2006-04-11 01:07:43 +00:00
wave.py
weakref.py SF #1479988: add methods to allow access to weakrefs for the 2006-05-02 06:53:59 +00:00
webbrowser.py Add seamonkey to list of Windows browsers too. 2006-05-03 17:46:13 +00:00
whichdb.py Replace list of constants with tuples of constants. 2005-02-06 06:57:08 +00:00
xdrlib.py Make xdrlib use floor division instead of classic division. 2006-03-28 10:07:46 +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
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