Commit graph

9705 commits

Author SHA1 Message Date
Antoine Pitrou
38c1a4d1f4 Merged revisions 86404 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86404 | antoine.pitrou | 2010-11-10 23:36:43 +0100 (mer., 10 nov. 2010) | 3 lines

  Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org
........
2010-11-10 22:37:33 +00:00
Antoine Pitrou
8d9a4e66c2 Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org 2010-11-10 22:36:43 +00:00
Łukasz Langa
26d513cf2f Issue #5412: extend configparser to support mapping access 2010-11-10 18:57:39 +00:00
Antoine Pitrou
cb4f929812 I'm only backporting the tests (which run fine), as well as
a shortened version of Lib/test/script_helper.py.

Merged revisions 86395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86395 | antoine.pitrou | 2010-11-10 14:55:25 +0100 (mer., 10 nov. 2010) | 4 lines

  Issue #10372: Import the warnings module only after the IO library is
  initialized, so as to avoid bootstrap issues with the '-W' option.
........
2010-11-10 14:01:16 +00:00
Antoine Pitrou
cf9f98034a Issue #10372: Import the warnings module only after the IO library is
initialized, so as to avoid bootstrap issues with the '-W' option.
2010-11-10 13:55:25 +00:00
Antoine Pitrou
5466e920d9 Merged revisions 86383 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86383 | antoine.pitrou | 2010-11-10 00:10:33 +0100 (mer., 10 nov. 2010) | 4 lines

  Issue #4471: Properly shutdown socket in IMAP.shutdown().  Patch by
  Lorenzo M. Catucci.
........
2010-11-09 23:12:32 +00:00
Antoine Pitrou
d79f3c8b3a Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
2010-11-09 23:10:33 +00:00
Antoine Pitrou
7ec819e3a9 Merged revisions 86380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86380 | antoine.pitrou | 2010-11-09 23:55:55 +0100 (mar., 09 nov. 2010) | 4 lines

  Fix IMAP.login() to work properly.
  Also, add remote tests for imaplib (part of #4471).
........
2010-11-09 22:57:20 +00:00
Antoine Pitrou
b1436f185d Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
2010-11-09 22:55:55 +00:00
Antoine Pitrou
adffced3df Preserve the original environment (e.g. LD_LIBRARY_PATH) 2010-11-09 22:04:44 +00:00
Antoine Pitrou
de535e8864 Merged revisions 86338 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86338 | antoine.pitrou | 2010-11-08 21:36:57 +0100 (lun., 08 nov. 2010) | 3 lines

  Fix test_hashlib with the bigmem option
........
2010-11-09 21:36:16 +00:00
Antoine Pitrou
9bc35682de Use script_helper in one more test 2010-11-09 21:33:55 +00:00
Ask Solem
2afcbf2249 Issue #9244: multiprocessing.pool: Worker crashes if result can't be encoded 2010-11-09 20:55:52 +00:00
Antoine Pitrou
fb0469112f Issue #10022: The dictionary returned by the getpeercert() method
of SSL sockets now has additional items such as `issuer` and `notBefore`.
2010-11-09 20:21:19 +00:00
Antoine Pitrou
1cb121ecea Issue #1926: Add support for NNTP over SSL on port 563, as well as
STARTTLS.  Patch by Andrew Vant.
2010-11-09 18:54:37 +00:00
Senthil Kumaran
ec30b3dd8c Fix Issue10205 - XML QName error when different tags have same QName. 2010-11-09 02:36:59 +00:00
Victor Stinner
92665ab8c7 test_tokenize: use self.assertEqual() instead of plain assert 2010-11-09 01:11:31 +00:00
Victor Stinner
58c0752a33 Issue #10335: Add tokenize.open(), detect the file encoding using
tokenize.detect_encoding() and open it in read only mode.
2010-11-09 01:08:59 +00:00
Alexander Belopolsky
18c33737f8 Fixed unit test failure on Windows 2010-11-08 23:10:20 +00:00
Antoine Pitrou
ea510eba1a Fix memory consumption advertised by some test cases 2010-11-08 21:40:13 +00:00
Antoine Pitrou
d7ae299e4b Fix test_hashlib with the bigmem option 2010-11-08 20:36:57 +00:00
Alexander Belopolsky
6672ea9424 Streamlined code in trace.Ignore and added unit tests. 2010-11-08 18:32:40 +00:00
R. David Murray
7dff9e08fb #10321: Add support for sending binary DATA and Message objects to smtplib 2010-11-08 17:15:13 +00:00
Antoine Pitrou
d95c7b5f8a Issue #10347: ignore leading test count ("[ 1/340]") when using the -f option to regrtest. 2010-11-07 20:50:51 +00:00
Mark Dickinson
a837aa6213 Update assertComplexIdentical to handle nans correctly. 2010-11-07 15:31:41 +00:00
Victor Stinner
be3da38e0a Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0).
2010-11-07 14:14:27 +00:00
Mark Dickinson
baa0f0510e Add a dtoa.c test value that triggered a bug in recent versions of
Gay's dtoa.c (but not for current versions of Python's dtoa.c).
Thanks Rick Regan for finding and reporting this.
2010-11-07 10:01:46 +00:00
Victor Stinner
2e598faade test_concurrent_futures: remove temporary hack 2010-11-07 04:36:56 +00:00
Eric Smith
72f6620859 Removed unused test classes from test_format_map(). 2010-11-06 14:43:26 +00:00
Victor Stinner
7322fcf84b test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot 2010-11-06 13:10:29 +00:00
Éric Araujo
1c1340b30a Merged revisions 86239,86241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86239 | eric.araujo | 2010-11-06 05:09:29 +0100 (sam., 06 nov. 2010) | 2 lines

  Fix caching error found by regrtest -R (#10229)
........
  r86241 | eric.araujo | 2010-11-06 05:24:00 +0100 (sam., 06 nov. 2010) | 2 lines

  Add missing NEWS entry for r86239.
........
2010-11-06 04:35:07 +00:00
Éric Araujo
7fa886df36 Prevent ResourceWarnings in test_gettext 2010-11-06 04:11:59 +00:00
Éric Araujo
37a89334da Fix caching error found by regrtest -R (#10229) 2010-11-06 04:09:29 +00:00
Éric Araujo
1c5054996f Fix one omission in r78359 2010-11-06 02:12:51 +00:00
Brian Curtin
97a5bad496 Merged revisions 86228 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86228 | brian.curtin | 2010-11-05 20:30:41 -0500 (Fri, 05 Nov 2010) | 2 lines

  Clear up ResourceWarnings
........
2010-11-06 01:32:53 +00:00
Brian Curtin
ecd34cbbb8 Clear up ResourceWarnings 2010-11-06 01:30:41 +00:00
Antoine Pitrou
243757eb79 Issue #10180: Pickling file objects is now explicitly forbidden, since
unpickling them produced nonsensical results.
2010-11-05 21:15:39 +00:00
Antoine Pitrou
4a5f9677f3 Output served URL when running ssl_servers 2010-11-05 20:26:59 +00:00
Antoine Pitrou
66c95c745b Fix test_httplib when built without threads 2010-11-05 20:17:55 +00:00
Antoine Pitrou
a078115434 Issue #10282: Add a nntp_implementation attribute to NNTP objects. 2010-11-05 19:16:37 +00:00
Brian Curtin
de11b189d1 Close subprocess pipes to clean up ResourceWarnings 2010-11-05 17:22:46 +00:00
Brian Curtin
19a5379c97 Fix a number of ResourceWarnings on Windows due to open pipes. 2010-11-05 17:09:05 +00:00
Brian Curtin
5ad0bd69c9 Add socket cleanup for ResourceWarning and update test to use skip decorator 2010-11-05 15:47:45 +00:00
Brian Curtin
ab747a7daa Fix ResourceWarning from subprocess pipes being left open. 2010-11-05 15:40:27 +00:00
Brian Curtin
994ad6c775 Fix ResourceWarning from subprocess pipe. 2010-11-05 15:38:47 +00:00
Brian Curtin
43ec577e2c Close subprocess pipes in _kill. Fixes a number of ResourceWarnings. 2010-11-05 15:17:11 +00:00
Brian Curtin
3c6a951cfb Add cleanups to stdout/stderr pipes to remove ResourceWarnings. 2010-11-05 03:58:52 +00:00
Antoine Pitrou
08eeadac27 Issue #10283: Add a group_pattern argument to NNTP.list(). 2010-11-04 21:36:15 +00:00
Antoine Pitrou
020e09a5b4 Merged revisions 86175 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86175 | antoine.pitrou | 2010-11-04 21:48:37 +0100 (jeu., 04 nov. 2010) | 4 lines

  Issue #3699: Fix test_bigaddrspace and extend it to test bytestrings
  as well as unicode strings.  Initial patch by Sandro Tosi.
........
2010-11-04 20:50:00 +00:00
Antoine Pitrou
99c4830d0c Issue #3699: Fix test_bigaddrspace and extend it to test bytestrings
as well as unicode strings.  Initial patch by Sandro Tosi.
2010-11-04 20:48:37 +00:00