cpython/Lib
Victor Stinner 45df820591 Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80552 | victor.stinner | 2010-04-27 23:46:03 +0200 (mar., 27 avril 2010) | 3 lines

  Issue #7449, part 1: fix test_support.py for Python compiled without thread
........
  r80553 | victor.stinner | 2010-04-27 23:47:01 +0200 (mar., 27 avril 2010) | 1 line

  Issue #7449, part 2: regrtest.py -j option requires thread support
........
  r80554 | victor.stinner | 2010-04-27 23:51:26 +0200 (mar., 27 avril 2010) | 9 lines

  Issue #7449 part 3, test_doctest: import trace module in test_coverage()

  Import trace module fail if the threading module is missing. test_coverage() is
  only used if test_doctest.py is used with the -c option. This commit allows to
  execute the test suite without thread support.

  Move "import trace" in test_coverage() and use
  test_support.import_module('trace').
........
  r80555 | victor.stinner | 2010-04-27 23:56:26 +0200 (mar., 27 avril 2010) | 6 lines

  Issue #7449, part 4: skip test_multiprocessing if thread support is disabled

  import threading after _multiprocessing to raise a more revelant error message:
  "No module named _multiprocessing". _multiprocessing is not compiled without
  thread support.
........
  r80556 | victor.stinner | 2010-04-28 00:01:24 +0200 (mer., 28 avril 2010) | 8 lines

  Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py

   * Split Test.test_open() in 2 functions: test_open() and test_thread_open()
   * Skip test_open() and test_thread_open() if we are unable to find the C
     library
   * Skip test_thread_open() if thread support is disabled
   * Use unittest.skipUnless(os.name == "nt", ...) on test_GetLastError()
........
  r80564 | victor.stinner | 2010-04-28 00:59:35 +0200 (mer., 28 avril 2010) | 4 lines

  Issue #7449, part 6: fix test_hashlib for missing threading module

  Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing().
........
  r80565 | victor.stinner | 2010-04-28 01:01:29 +0200 (mer., 28 avril 2010) | 6 lines

  Issue #7449, part 7: simplify threading detection in test_capi

   * Skip TestPendingCalls if threading module is missing
   * Test if threading module is present or not, instead of test the presence of
     _testcapi._test_thread_state
........
  r80566 | victor.stinner | 2010-04-28 01:03:16 +0200 (mer., 28 avril 2010) | 4 lines

  Issue #7449, part 8: don't skip the whole test_asynchat if threading is missing

  TestFifo can be executed without the threading module
........
  r80568 | victor.stinner | 2010-04-28 01:14:58 +0200 (mer., 28 avril 2010) | 6 lines

  Issue #7449, part 9: fix test_xmlrpclib for missing threading module

   * Skip testcases using threads if threading module is missing
   * Use "http://" instead of URL in ServerProxyTestCase if threading is missing
     because URL is not set in this case
........
  r80569 | victor.stinner | 2010-04-28 01:33:58 +0200 (mer., 28 avril 2010) | 6 lines

  Partial revert of r80556 (Issue #7449, part 5, fix ctypes test)

  Rewrite r80556: the thread test have to be executed just after the test on
  libc_open() and so the test cannot be splitted in two functions (without
  duplicating code, and I don't want to duplicate code).
........
  r80570 | victor.stinner | 2010-04-28 01:51:16 +0200 (mer., 28 avril 2010) | 8 lines

  Issue #7449, part 10: test_cmd imports trace module using test_support.import_module()

  Use test_support.import_module() instead of import to raise a SkipTest
  exception if the import fail. Import trace fails if the threading module is
  missing.

  See also part 3: test_doctest: import trace module in test_coverage().
........
  r80571 | victor.stinner | 2010-04-28 01:55:59 +0200 (mer., 28 avril 2010) | 6 lines

  Issue #7449, last part (11): fix many tests if thread support is disabled

   * Use try/except ImportError or test_support.import_module() to import thread
     and threading modules
   * Add @unittest.skipUnless(threading, ...) to testcases using threads
........
2010-04-28 22:31:17 +00:00
..
ctypes Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge from 2010-04-28 22:31:17 +00:00
curses
dbm Redundancy isn't needed here. 2009-10-10 21:28:29 +00:00
distutils Fixed #8375 - test_distutils now checks what remains to be cleaned up during tearDown 2010-04-12 08:23:49 +00:00
email Merged revisions 80357 via svnmerge from 2010-04-22 11:57:12 +00:00
encodings Merged revisions 78806 via svnmerge from 2010-03-08 22:17:58 +00:00
html
http Merged revisions 80583 via svnmerge from 2010-04-28 17:39:48 +00:00
idlelib Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge from 2010-03-28 00:25:02 +00:00
importlib Remove unnecessary XXX 2010-04-17 00:31:11 +00:00
json
lib2to3 Merged revisions 79306,79311,79325 via svnmerge from 2010-03-23 03:22:05 +00:00
logging Merged revisions 79279,79284,79293,79373,79376,79379,79876,79888 via svnmerge from 2010-04-11 16:25:06 +00:00
msilib
multiprocessing Issue #7316: the acquire() method of lock objects in the :mod:`threading` 2010-04-14 15:44:10 +00:00
plat-aix4
plat-darwin
plat-freebsd4 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd5 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd6 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd7 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd8 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-sunos5 Merged revisions 78678,78680,78682 via svnmerge from 2010-03-05 03:33:11 +00:00
plat-unixware7
pydoc_data
site-packages
sqlite3 Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge from 2010-04-28 22:31:17 +00:00
test Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge from 2010-04-28 22:31:17 +00:00
tkinter Merged revisions 79903,79907 via svnmerge from 2010-04-11 22:04:51 +00:00
unittest Merged revisions 80476 via svnmerge from 2010-04-25 19:53:49 +00:00
urllib Merged revisions 80362 via svnmerge from 2010-04-22 12:19:46 +00:00
wsgiref Manually copy patch for bug 7250 from the release26-maint branch. I suck 2010-03-01 21:53:00 +00:00
xml Merged revisions 78838-78839,78917,78919,78934,78937 via svnmerge from 2010-03-13 23:24:31 +00:00
xmlrpc Issue #7606: XML-RPC traceback stored in X-traceback is now encoded to ASCII 2010-04-16 13:28:05 +00:00
__future__.py
__phello__.foo.py
_abcoll.py
_compat_pickle.py
_dummy_thread.py Issue #7316: the acquire() method of lock objects in the :mod:`threading` 2010-04-14 15:44:10 +00:00
_markupbase.py
_pyio.py Merged revisions 80548-80549 via svnmerge from 2010-04-27 21:24:03 +00:00
_strptime.py
_threading_local.py fixes issue #1522237, bad init check in _threading_local 2010-02-22 19:55:46 +00:00
_weakrefset.py
abc.py Merged revisions 77789 via svnmerge from 2010-01-27 02:25:58 +00:00
aifc.py
antigravity.py
argparse.py Merged revisions 79385 via svnmerge from 2010-03-24 22:10:42 +00:00
ast.py
asynchat.py
asyncore.py
base64.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
bdb.py
binhex.py
bisect.py
build_class.py
cProfile.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
calendar.py
cgi.py Merged revisions 78844 via svnmerge from 2010-03-11 22:05:58 +00:00
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py
collections.py Minor factoring 2010-04-11 20:41:56 +00:00
colorsys.py
compileall.py Bug 8527 - multiple compileall calls produce cascading __pycache__ directories. 2010-04-26 15:59:03 +00:00
configparser.py Merged revisions 78232 via svnmerge from 2010-02-19 06:08:41 +00:00
contextlib.py
copy.py
copyreg.py
csv.py Merged revisions 78384 via svnmerge from 2010-02-23 22:57:58 +00:00
decimal.py Merged revisions 79583,79588-79589 via svnmerge from 2010-04-03 11:08:14 +00:00
difflib.py Merged revisions 80004 via svnmerge from 2010-04-12 16:58:02 +00:00
dis.py factor out constant 2010-04-04 23:26:50 +00:00
doctest.py Rolled back revisions 79307 via svnmerge from 2010-04-11 21:39:55 +00:00
dummy_threading.py
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fractions.py Merged revisions 79629 via svnmerge from 2010-04-03 11:18:52 +00:00
ftplib.py Merged revisions 80226 via svnmerge from 2010-04-19 22:05:54 +00:00
functools.py Issue 8361: Remove assert from functools.total_ordering 2010-04-10 16:59:03 +00:00
genericpath.py Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from 2010-03-14 10:23:39 +00:00
getopt.py
getpass.py
gettext.py
glob.py
gzip.py Merged revisions 77472-77473 via svnmerge from 2010-01-13 14:37:26 +00:00
hashlib.py Merged revisions 78528 via svnmerge from 2010-03-01 02:05:26 +00:00
heapq.py
hmac.py
imaplib.py
imghdr.py
inspect.py PEP 3147 2010-04-17 00:19:56 +00:00
io.py
keyword.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
linecache.py
locale.py Merged revisions 80512 via svnmerge from 2010-04-27 02:45:53 +00:00
macpath.py Merged revisions 79195 via svnmerge from 2010-03-21 12:29:50 +00:00
macurl2path.py
mailbox.py Merged revisions 77952,78030,78102,78104,78107,78206,78216,78296-78297,78328,78331-78332,78336,78339,78343,78378-78379,78415,78559,78717,78791 via svnmerge from 2010-03-21 22:03:03 +00:00
mailcap.py Issue #8496: make mailcap.lookup() always return a list, rather than an iterator. 2010-04-22 13:30:10 +00:00
mimetypes.py Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from 2010-03-14 10:23:39 +00:00
modulefinder.py
netrc.py
nntplib.py
ntpath.py Fix ntpath abspath to deal with bytes. 2010-03-08 14:44:41 +00:00
nturl2path.py
numbers.py
opcode.py
optparse.py
os.py Issue #8391: os.execvpe() and os.getenv() supports unicode with surrogates and 2010-04-23 21:41:56 +00:00
os2emxpath.py
pdb.doc
pdb.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
pickle.py Issue #8383: pickle and pickletools use surrogatepass error handler when 2010-04-13 11:07:24 +00:00
pickletools.py Issue #8383: pickle and pickletools use surrogatepass error handler when 2010-04-13 11:07:24 +00:00
pipes.py Merged revisions 77952,78030,78102,78104,78107,78206,78216,78296-78297,78328,78331-78332,78336,78339,78343,78378-78379,78415,78559,78717,78791 via svnmerge from 2010-03-21 22:03:03 +00:00
pkgutil.py
platform.py Revert r80167, it breaks build on many platforms 2010-04-18 18:28:09 +00:00
plistlib.py Merged revisions 80279 via svnmerge from 2010-04-20 21:00:34 +00:00
poplib.py
posixpath.py Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from 2010-03-14 10:23:39 +00:00
pprint.py
profile.py Issue #4282: Fix the main function of the profile module for a non-ASCII 2010-03-22 01:58:35 +00:00
pstats.py Forward port total_ordering() and cmp_to_key(). 2010-04-05 18:56:31 +00:00
pty.py
py_compile.py Merged revisions 80274 via svnmerge from 2010-04-20 19:48:04 +00:00
pyclbr.py
pydoc.py PEP 3147 2010-04-17 00:19:56 +00:00
queue.py
quopri.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
random.py
re.py
reprlib.py
rlcompleter.py
runpy.py PEP 3147 2010-04-17 00:19:56 +00:00
sched.py
shelve.py Merged revisions 78141-78142 via svnmerge from 2010-02-11 02:42:19 +00:00
shlex.py
shutil.py #8295 : Added shutil.unpack_archive and related APIs 2010-04-28 17:51:36 +00:00
site.py PEP 3147 2010-04-17 00:19:56 +00:00
smtpd.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
smtplib.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
sndhdr.py
socket.py
socketserver.py Merged revisions 80484 via svnmerge from 2010-04-25 22:01:43 +00:00
sre_compile.py
sre_constants.py
sre_parse.py #6509: fix re.sub to work properly when the pattern, the string, and the replacement were all bytes. Patch by Antoine Pitrou. 2010-03-06 15:24:08 +00:00
ssl.py Remove unused import 2010-04-26 23:06:26 +00:00
stat.py
string.py
stringprep.py
struct.py
subprocess.py Merged revisions 80439 via svnmerge from 2010-04-24 16:19:22 +00:00
sunau.py
symbol.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
symtable.py
sysconfig.py Merged revisions 78835-78837 via svnmerge from 2010-03-12 14:20:59 +00:00
tabnanny.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
tarfile.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py Issue #850728: Add a *timeout* parameter to the `acquire()` method of 2010-04-17 23:51:58 +00:00
timeit.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
token.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
tokenize.py fix for files with coding cookies and BOMs 2010-03-18 22:34:15 +00:00
trace.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
traceback.py
tty.py
turtle.py Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge from 2010-03-28 00:25:02 +00:00
types.py
uu.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
uuid.py
warnings.py
wave.py use floor division where needed #7681 2010-01-13 03:49:50 +00:00
weakref.py
webbrowser.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
wsgiref.egg-info
xdrlib.py
zipfile.py PEP 3147 2010-04-17 00:19:56 +00:00