cpython/Lib
R. David Murray a21e4ca3c6 Merged revisions 70734,70775,70856,70874,70876-70877 via svnmerge
........
  r70734 | r.david.murray | 2009-03-30 15:04:00 -0400 (Mon, 30 Mar 2009) | 7 lines

  Add import_function method to test.test_support, and modify a number of
  tests that expect to be skipped if imports fail or functions don't
  exist to use import_function and import_module.  The ultimate goal is
  to change regrtest to not skip automatically on ImportError.  Checking
  in now to make sure the buldbots don't show any errors on platforms
  I can't direct test on.
........
  r70775 | r.david.murray | 2009-03-30 19:05:48 -0400 (Mon, 30 Mar 2009) | 4 lines

  Change more tests to use import_module for the modules that
  should cause tests to be skipped.  Also rename import_function
  to the more descriptive get_attribute and add a docstring.
........
  r70856 | r.david.murray | 2009-03-31 14:32:17 -0400 (Tue, 31 Mar 2009) | 7 lines

  A few more test skips via import_module, and change import_module to
  return the error message produced by importlib, so that if an import
  in the package whose import is being wrapped is what failed the skip
  message will contain the name of that module instead of the name of the
  wrapped module.  Also fixed formatting of some previous comments.
........
  r70874 | r.david.murray | 2009-03-31 15:33:15 -0400 (Tue, 31 Mar 2009) | 5 lines

  Improve test_support.import_module docstring, remove
  deprecated flag from get_attribute since it isn't likely
  to do anything useful.
........
  r70876 | r.david.murray | 2009-03-31 15:49:15 -0400 (Tue, 31 Mar 2009) | 4 lines

  Remove the regrtest check that turns any ImportError into a skipped test.
  Hopefully all modules whose imports legitimately result in a skipped
  test have been properly wrapped by the previous commits.
........
  r70877 | r.david.murray | 2009-03-31 15:57:24 -0400 (Tue, 31 Mar 2009) | 2 lines

  Add NEWS entry for regrtest change.
........
2009-03-31 23:16:50 +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 Merged revisions 70920,70922 via svnmerge from 2009-03-31 22:50:54 +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 Simplify the Request class. The basic components of the parsed 2009-03-31 14:35:53 +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 importlib.machinery.PathFinder.find_module() to essentially skip over None 2009-03-30 19:57:15 +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 long integer -> integer. 2007-11-29 18:48:53 +00:00
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 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd7 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd8 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 2008-03-31 01:51:45 +00:00
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 70734,70775,70856,70874,70876-70877 via svnmerge 2009-03-31 23:16:50 +00:00
tkinter Merged revisions 70223 via svnmerge from 2009-03-07 02:19:14 +00:00
urllib Make urllib use HTTP/1.1. It seems to work now, but hasn't been 2009-03-31 16:37:16 +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 part of #3613: fix get_host_info() usage of base64.encodestring(). 2009-02-13 10:50:01 +00:00
__future__.py Merged revisions 61952-61953 via svnmerge from 2008-03-26 22:34:47 +00:00
__phello__.foo.py
_abcoll.py Give mapping views a usable repr. 2009-02-27 07:47:32 +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 TextIOWrapper.read() when the buffer is not readable #5628 2009-03-31 23:11:32 +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
chunk.py
cmd.py
code.py Fix issue #1707. When raw_input() was removed, it was incorrectly replaced 2008-01-02 02:55:27 +00:00
codecs.py Make TextIOWrapper's seek/tell work properly with stateful decoders; 2008-03-18 04:51:32 +00:00
codeop.py
collections.py Separate initialization from clearing. 2009-03-25 22:45:22 +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 Patch 1341 by Amaury Forgeot d'Arc. 2007-10-29 17:39:59 +00:00
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 Fixed failing unit tests due to str/bytes mismatch. 2008-03-03 02:59:49 +00:00
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 simplify and beautify code 2009-03-06 23:59:29 +00:00
keyword.py Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from 2008-01-21 20:36:10 +00:00
linecache.py reuse tokenize.detect_encoding in linecache instead of a custom solution 2009-03-24 22:30:15 +00:00
locale.py svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message) 2009-03-18 20:26:42 +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 Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +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 Patch # 1331 by Christian Heimes. 2007-10-26 04:29:23 +00:00
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 Issue #1771: Remove cmp parameter from list.sort() and builtin.sorted(). 2008-01-30 20:15:17 +00:00
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 Patch 1329 (partial) by Christian Heimes. 2007-10-30 17:27:30 +00:00
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 Merged revisions 61644,61646-61647,61649-61652,61656-61658,61663,61665,61667 via svnmerge from 2008-03-20 10:49:03 +00:00
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 Merged revisions 59696-59702 via svnmerge from 2008-01-04 03:08:33 +00:00
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
token.py Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61064,61066-61080 via svnmerge from 2008-02-26 08:18:30 +00:00
tokenize.py reuse tokenize.detect_encoding in linecache instead of a custom solution 2009-03-24 22:30:15 +00:00
trace.py The trace module was trying to turn ints into ints since co_lnotab was changed 2009-01-30 01:31:34 +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 Merged revisions 62194,62197-62198,62204-62205,62214,62219-62221,62227,62229-62231,62233-62235,62237-62239 via svnmerge from 2008-04-09 08:37:03 +00:00
unittest.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
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 #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
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