cpython/Lib
Benjamin Peterson 7fe73a17c5 Merged revisions 70837,70864,70878,71004,71032,71043 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70837 | gregory.p.smith | 2009-03-31 11:54:10 -0500 (Tue, 31 Mar 2009) | 9 lines

  The unittest.TestCase.assertEqual() now displays the differences in lists,
  tuples, dicts and sets on failure.

  Many new handy type and comparison specific assert* methods have been added
  that fail with error messages actually useful for debugging.  Contributed in
  by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.

  Discussion lives in http://bugs.python.org/issue2578.
........
  r70864 | gregory.p.smith | 2009-03-31 14:03:28 -0500 (Tue, 31 Mar 2009) | 10 lines

  Rename the actual method definitions to the official assertFoo names.

  Adds unittests to make sure the old fail* names continue to work now
  and adds a comment that they are pending deprecation.

  Also adds a test to confirm that the plural Equals method variants
  continue to exist even though we're unlikely to deprecate those.

  http://bugs.python.org/issue2578
........
  r70878 | gregory.p.smith | 2009-03-31 14:59:14 -0500 (Tue, 31 Mar 2009) | 3 lines

  Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
  Document the deprecation.
........
  r71004 | benjamin.peterson | 2009-04-01 18:15:49 -0500 (Wed, 01 Apr 2009) | 1 line

  remove double underscores
........
  r71032 | michael.foord | 2009-04-01 22:20:38 -0500 (Wed, 01 Apr 2009) | 13 lines

  Better exception messages for unittest assert methods.

  - unittest.assertNotEqual() now uses the inequality operator (!=) instead
    of the equality operator.

  - Default assertTrue and assertFalse messages are now useful.

  - TestCase has a longMessage attribute. This defaults to False, but if set to True
    useful error messages are shown in addition to explicit messages passed to assert methods.

  Issue #5663
........
  r71043 | michael.foord | 2009-04-02 00:51:54 -0500 (Thu, 02 Apr 2009) | 7 lines

  Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable.

  This allows for the deep copying of TestCase instances.

  Issue 5660
........
2009-04-04 16:35:46 +00:00
..
ctypes Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from 2009-01-27 18:17:45 +00:00
curses Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 2008-07-16 03:43:04 +00:00
dbm dbm.dumb was opening files without specifying the encoding. Caused problem on 2008-11-24 21:09:58 +00:00
distutils #5624: _winreg is winreg in Python 3. 2009-04-01 04:28:33 +00:00
email "Port" the fix for issue 1974 from the trunk (2.7). Because Python 3.x does things much better, less changes are necessary. 2009-03-30 23:12:30 +00:00
encodings #1276: Add temporary encoding aliases for non-supported Mac CJK 2008-08-23 08:03:03 +00:00
html #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
http Make http.server main program nicer for interactive use. 2009-04-03 07:16:55 +00:00
idlelib Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from 2009-03-30 14:51:56 +00:00
importlib fix name again 2009-04-04 01:21:56 +00:00
json merge r66932 and add a few py3k only checks 2008-10-16 21:17:24 +00:00
lib2to3 Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from 2009-01-09 03:03:23 +00:00
logging #5287: Add exception handling around findCaller() call to help out IronPython. 2009-02-19 12:36:11 +00:00
msilib
multiprocessing merge 70792 to py3k 2009-03-31 03:37:07 +00:00
plat-aix4
plat-atheos
plat-darwin These are present in the trunk but no longer in 3.x, which causes problems 2009-03-04 23:21:07 +00:00
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
site-packages
sqlite3 Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from 2009-01-27 18:17:45 +00:00
test Merged revisions 70837,70864,70878,71004,71032,71043 via svnmerge from 2009-04-04 16:35:46 +00:00
tkinter Merged revisions 70223 via svnmerge from 2009-03-07 02:19:14 +00:00
urllib #5624: _winreg is winreg in Python 3. 2009-04-01 04:28:33 +00:00
wsgiref Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
xml Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from 2009-01-27 18:17:45 +00:00
xmlrpc Fix for issue5040. Adding support for unicode message passing and tests for unicode message and test for Content-Length. 2009-04-01 20:20:43 +00:00
__future__.py barry has already been causing test breakage 2009-04-01 20:38:13 +00:00
__phello__.foo.py
_abcoll.py Issue #5647: MutableSet.__iand__() no longer mutates self during iteration. 2009-04-01 19:05:50 +00:00
_dummy_thread.py Merged revisions 65787 via svnmerge from 2008-08-17 22:31:15 +00:00
_markupbase.py Remove the htmllib and sgmllib modules as per PEP 3108. 2008-06-01 21:25:55 +00:00
_pyio.py Fix test_memoryio under Windows 2009-04-04 14:09:30 +00:00
_strptime.py The message for the exception when time.strptime was passed something other 2009-03-31 03:58:04 +00:00
_threading_local.py Merged revisions 64125 via svnmerge from 2008-06-11 19:14:14 +00:00
_weakrefset.py Add a test suite for WeakSet mostly derived from test_set and fix some 2008-05-18 16:27:29 +00:00
abc.py Merged revisions 66144 via svnmerge from 2008-09-02 10:43:28 +00:00
aifc.py Remove cl usage from aifc and use bytes throughout. 2008-06-07 19:01:03 +00:00
antigravity.py Merged revisions 66887,66891,66902-66903,66905-66906,66911-66913,66922,66927-66928,66936,66939-66940,66962,66964,66973 via svnmerge from 2008-10-19 14:07:49 +00:00
ast.py Merged revisions 68450,68480-68481,68493,68495,68501,68512,68514-68515,68534-68536,68552,68563,68570-68572,68575,68582,68596,68623-68624,68628 via svnmerge from 2009-01-16 03:54:08 +00:00
asynchat.py Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768 2008-07-07 05:04:12 +00:00
asyncore.py This fixes issue 4332 for Py3k. 2008-11-19 18:22:41 +00:00
base64.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
bdb.py Merged revisions 67750-67751 via svnmerge from 2008-12-14 11:50:48 +00:00
binhex.py Remove the Mac modules 2008-05-12 22:25:16 +00:00
bisect.py Per the language summit, the optional fastpath imports should use from-import-star. 2009-03-31 17:51:51 +00:00
build_class.py
calendar.py #3059: Stop decoding Unicode in calendar module. 2008-06-08 08:40:05 +00:00
cgi.py Merged revisions 67528 via svnmerge from 2008-12-04 19:24:50 +00:00
cgitb.py Merged revisions 70956 via svnmerge from 2009-04-01 16:06:01 +00:00
chunk.py
cmd.py
code.py
codecs.py
codeop.py
collections.py Replace the localized min/max calls with normal if/else 2009-04-04 08:48:03 +00:00
colorsys.py Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from 2009-01-30 03:39:35 +00:00
compileall.py Merged revisions 69481 via svnmerge from 2009-02-10 02:10:16 +00:00
configparser.py Fix bootstrapping problem where setup.py was using configparser 2009-03-03 01:32:48 +00:00
contextlib.py Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 2008-05-04 22:42:01 +00:00
copy.py Rename the repr module to reprlib. 2008-05-16 07:12:44 +00:00
copyreg.py Rename copy_reg module to copyreg. 2008-05-11 08:55:36 +00:00
cProfile.py
csv.py Merged revisions 65795 via svnmerge from 2008-08-18 00:51:19 +00:00
decimal.py Merged revisions 70444 via svnmerge from 2009-03-18 08:25:36 +00:00
difflib.py Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
dis.py Merged revisions 68116-68119,68121,68123-68127 via svnmerge from 2009-01-01 15:05:06 +00:00
doctest.py Issue 5021: doctest.testfile should set __name__ 2009-01-27 10:06:09 +00:00
dummy_threading.py Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
filecmp.py Merged revisions 70342,70385-70387,70389-70390,70392-70393,70395,70400,70405-70406,70418,70438,70464,70468 via svnmerge from 2009-03-21 17:31:58 +00:00
fileinput.py
fnmatch.py Change fnmatch.py to use separate caches for str and bytes keys. 2008-10-03 16:38:30 +00:00
formatter.py Fix formatter usage of filter(). Bug #3800. 2008-09-09 19:31:25 +00:00
fractions.py Manually merge r68096,68189 from 3.0 branch. 2009-01-03 22:07:57 +00:00
ftplib.py #3911 FTP.makeport was giving bad port numbers 2008-09-27 22:04:16 +00:00
functools.py
genericpath.py Issue #3187: Better support for "undecodable" filenames. Code by Victor 2008-10-02 18:55:37 +00:00
getopt.py Merged revisions 67463,67572,67576,67628 via svnmerge from 2008-12-07 15:15:22 +00:00
getpass.py Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 2008-05-04 22:42:01 +00:00
gettext.py Make gettext Unicode interface consistent and clean up the docs. 2008-07-17 18:15:35 +00:00
glob.py Issue #3187: Better support for "undecodable" filenames. Code by Victor 2008-10-02 18:55:37 +00:00
gzip.py Merged revisions 68484-68485 via svnmerge from 2009-01-10 16:22:51 +00:00
hashlib.py issue3715: docstring representation of hex escaped string needs to be double 2008-08-31 16:35:01 +00:00
heapq.py Make life easier for non-CPython implementations 2009-03-29 19:30:50 +00:00
hmac.py
imaplib.py Issue #1210: Fixed imaplib 2008-11-05 19:39:50 +00:00
imghdr.py Merged revisions 65713 via svnmerge from 2008-08-16 16:48:16 +00:00
inspect.py Merged revisions 68633,68648,68667,68706,68718,68720-68721,68724-68727,68739 via svnmerge from 2009-01-18 22:27:04 +00:00
io.py Merged revisions 70992,70995 via svnmerge from 2009-04-01 21:22:20 +00:00
keyword.py
linecache.py reuse tokenize.detect_encoding in linecache instead of a custom solution 2009-03-24 22:30:15 +00:00
locale.py Merged revisions 70936 via svnmerge from 2009-04-01 03:42:00 +00:00
macpath.py Issue3187 for Macintosh platform: 2008-10-03 21:57:20 +00:00
macurl2path.py Make a new urllib package . 2008-06-18 20:49:58 +00:00
mailbox.py In 3k this becomes an items() call. 2009-04-02 19:44:43 +00:00
mailcap.py
mimetypes.py Merged revisions 69998-69999,70002,70022-70023,70025-70026,70061,70086,70145,70171,70183,70188,70235,70244,70275,70281 via svnmerge from 2009-03-09 21:04:33 +00:00
modulefinder.py no 2.3 compat in the py3k lib #3676 2009-02-16 16:20:10 +00:00
netrc.py
nntplib.py Issue #3714: nntplib module broken by str to unicode conversion 2008-11-05 19:44:21 +00:00
ntpath.py fix variable name #5595 2009-03-29 13:02:52 +00:00
nturl2path.py follow-up of r64385: rename urllib.quote in nturl2path 2008-06-18 22:38:24 +00:00
numbers.py Issue 4998: restore utility of __slots__ on Fraction. 2009-02-12 17:58:36 +00:00
opcode.py http://bugs.python.org/issue4715 2009-02-25 02:25:04 +00:00
optparse.py Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
os.py fix None errno #5312 2009-02-20 03:19:25 +00:00
os2emxpath.py Remove os.path.walk 2008-05-08 23:44:58 +00:00
pdb.doc Merged revisions 62998-63003,63005-63006,63009-63012,63014-63017,63019-63020,63022-63024,63026-63029,63031-63041,63043-63045,63047-63054,63056-63062 via svnmerge from 2008-05-16 00:03:33 +00:00
pdb.py Merged revisions 67750-67751 via svnmerge from 2008-12-14 11:50:48 +00:00
pickle.py Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the 2009-01-20 20:43:58 +00:00
pickletools.py Merged revisions 68903,68906 via svnmerge from 2009-01-24 21:46:33 +00:00
pipes.py
pkgutil.py no 2.3 compat in the py3k lib #3676 2009-02-16 16:20:10 +00:00
platform.py Merged revisions 70554,70588-70589,70598,70605,70611-70621,70623-70624,70626-70627 via svnmerge from 2009-03-28 21:42:05 +00:00
plistlib.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
poplib.py Fixed issue #3727: poplib module broken by str to unicode conversion 2008-11-05 19:48:27 +00:00
posixpath.py Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from 2009-01-30 03:39:35 +00:00
pprint.py Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from 2008-05-16 02:54:33 +00:00
profile.py
pstats.py
pty.py Issue #3782: os.write() must not accept unicode strings 2008-09-15 23:02:56 +00:00
py_compile.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
pyclbr.py Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 2008-05-04 22:42:01 +00:00
pydoc.py Revert unintended part of r69948. Pydoc was not supposed to change. 2009-02-24 23:41:47 +00:00
pydoc_topics.py Bump to 3.0rc3 2008-11-21 01:18:21 +00:00
queue.py port the queue change r70405 2009-03-21 17:36:10 +00:00
quopri.py
random.py Use ABCs to validate documented restriction to Sets or Sequences. 2009-02-24 11:27:15 +00:00
re.py Merged revisions 70090 via svnmerge from 2009-03-02 05:21:55 +00:00
reprlib.py Rename the repr module file to reprlib.py. 2008-05-16 16:05:36 +00:00
rlcompleter.py Merged revisions 65168 via svnmerge from 2008-07-21 16:32:10 +00:00
runpy.py Merged revisions 69419-69420 via svnmerge from 2009-02-08 01:58:26 +00:00
sched.py Merged revisions 63066-63076,63079,63081-63085,63087-63097,63099,63101-63104 via svnmerge from 2008-05-16 00:41:41 +00:00
shelve.py The default shelve pickle protocol should have been 3. 2009-02-03 04:19:10 +00:00
shlex.py
shutil.py Merged revisions 69415,69591,69593 via svnmerge from 2009-02-20 04:09:19 +00:00
site.py Merged revisions 70778 via svnmerge from 2009-03-30 23:16:10 +00:00
smtpd.py Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
smtplib.py Merged revisions 68547,68607,68610,68618,68621-68622,68649,68722 via svnmerge from 2009-01-18 21:02:37 +00:00
sndhdr.py
socket.py Fixes issue #3826 and #4791: 2009-01-12 04:50:11 +00:00
socketserver.py Merged revisions 69803-69805,69840,69901,69905,69907,69924,69927,69987 via svnmerge from 2009-02-26 03:38:59 +00:00
sre_compile.py Merged revisions 66894 via svnmerge from 2008-10-14 23:07:40 +00:00
sre_constants.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
sre_parse.py Merged revisions 66894 via svnmerge from 2008-10-14 23:07:40 +00:00
ssl.py fix name usage 2008-12-31 04:10:35 +00:00
stat.py
string.py #4361: fix string.py docstring, clarify that only ASCII characters are in its constants. 2008-11-22 08:31:09 +00:00
stringprep.py
struct.py
subprocess.py Merged revisions 70137 via svnmerge from 2009-03-03 22:41:26 +00:00
sunau.py #3567: fix sunau for running with -bb and make test_ossaudiodev work. 2008-08-17 00:38:32 +00:00
symbol.py
symtable.py Merged revisions 70801,70809 via svnmerge from 2009-03-31 15:26:37 +00:00
tabnanny.py
tarfile.py Merged revisions 70523 via svnmerge from 2009-03-22 20:34:29 +00:00
telnetlib.py Victor Stinner's patch to make telnetlib use bytes 3725 2008-10-15 20:54:24 +00:00
tempfile.py Fixed test_tempfile. 2008-06-12 01:13:54 +00:00
textwrap.py Issue #4163: textwrap module: allow word splitting on a hyphen preceded by a non-ASCII letter. 2008-12-13 23:20:54 +00:00
this.py
threading.py Issue #874900: fix behaviour of threading module after a fork. 2008-09-06 23:00:03 +00:00
timeit.py Localize the function lookup in timeit. 2009-04-03 02:45:36 +00:00
token.py
tokenize.py reuse tokenize.detect_encoding in linecache instead of a custom solution 2009-03-24 22:30:15 +00:00
trace.py #5656: detect correct encoding of files when reporting coverage in trace.py, and ignore files in the temporary directory when reporting. 2009-04-01 23:07:29 +00:00
traceback.py Merged revisions 70554,70588-70589,70598,70605,70611-70621,70623-70624,70626-70627 via svnmerge from 2009-03-28 21:42:05 +00:00
tty.py
turtle.py Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
types.py
unittest.py Merged revisions 70837,70864,70878,71004,71032,71043 via svnmerge from 2009-04-04 16:35:46 +00:00
uu.py
uuid.py Merged revisions 67295,67301-67302,67318,67330,67342-67343 via svnmerge from 2008-11-22 22:18:04 +00:00
warnings.py forward port r66386 2008-10-16 23:24:44 +00:00
wave.py
weakref.py Fix a circular import dependency. 2009-03-25 23:31:22 +00:00
webbrowser.py simplify imports 2008-12-10 06:02:39 +00:00
wsgiref.egg-info
xdrlib.py
zipfile.py Merged revisions 68885 via svnmerge from 2009-01-24 14:10:07 +00:00