Commit Graph

5624 Commits

Author SHA1 Message Date
Antoine Pitrou fd0680b19d Merged revisions 76037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76037 | antoine.pitrou | 2009-11-01 23:02:03 +0100 (dim., 01 nov. 2009) | 3 lines

  Use a custom timeout in test_support.open_urlresource.
........
2009-11-01 22:13:48 +00:00
Antoine Pitrou 7e05e7d3b6 Merged revisions 76033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76033 | antoine.pitrou | 2009-11-01 22:26:14 +0100 (dim., 01 nov. 2009) | 3 lines

  test_normalization should skip and not crash when the resource isn't available
........
2009-11-01 21:43:20 +00:00
Raymond Hettinger fc438518a0 Fix exception handling in itertools.izip_longest(). 2009-11-01 20:55:33 +00:00
Antoine Pitrou c9e92167ac Fix test skipping in multibyte codec tests 2009-11-01 15:59:11 +00:00
Eric Smith 1bfa799b42 Merged revisions 75995 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75995 | eric.smith | 2009-10-31 13:07:17 -0400 (Sat, 31 Oct 2009) | 1 line

  Improved test for a deprecation warning.
........
2009-10-31 17:08:48 +00:00
Mark Dickinson a14c2ed15d Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines

  Issue #7042:  Use a better mechanism for testing timers in test_signal.
........
2009-10-31 10:38:43 +00:00
Antoine Pitrou aecd3b7718 Merged revisions 75967 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75967 | antoine.pitrou | 2009-10-30 22:41:22 +0100 (ven., 30 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_pydoc.
........
2009-10-30 21:45:40 +00:00
Antoine Pitrou 046467cf9a Followup to r75965: replace the test_uuid-specific patch with a generic fix
(other tests may have the same problem).
2009-10-30 18:30:35 +00:00
Antoine Pitrou 1e8e5f0680 Fix a refleak in test_uuid when run with -j.
The "refleak" was simply the effect of internal buffering in block buffering mode
(rather than line buffering when sys.stdout is a terminal)
2009-10-30 18:15:02 +00:00
Antoine Pitrou e03866f6f1 Merged revisions 75962-75963 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75962 | antoine.pitrou | 2009-10-30 18:55:21 +0100 (ven., 30 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_asynchat.
........
  r75963 | antoine.pitrou | 2009-10-30 18:56:00 +0100 (ven., 30 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_xmlrpc.
........
2009-10-30 17:58:27 +00:00
Antoine Pitrou d52656b4bc Merged revisions 75960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75960 | antoine.pitrou | 2009-10-30 18:33:28 +0100 (ven., 30 oct. 2009) | 3 lines

  Fix transient refleaks in test_docxmlrpc.
........
2009-10-30 17:34:49 +00:00
Antoine Pitrou 65c9c6426b Merged revisions 75958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75958 | antoine.pitrou | 2009-10-30 18:07:08 +0100 (ven., 30 oct. 2009) | 7 lines

  Issue #7222: Make thread "reaping" more reliable so that reference
  leak-chasing test runs give sensible results. The previous method of
  reaping threads could return successfully while some Thread objects were
  still referenced. This also introduces a new private function:
  :func:hread._count().
........
2009-10-30 17:25:12 +00:00
Mark Dickinson a2d1fe0b84 Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line

  Fix duplicate test numbers in extra.decTest
........
  r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines

  Issue #7233:  A number of two-argument Decimal methods were failing to
  accept ints and longs for the second argument.
........
  r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines

  Issue #7233:  Fix Decimal.shift and Decimal.rotate methods for
  arguments with more digits than the current context precision.
  Bug reported by Stefan Krah.
........
2009-10-29 12:23:02 +00:00
Benjamin Peterson b2e796aa27 in wide builds, avoid storing high unicode characters from source code with surrogates
This is accomplished by decoding with utf-32 instead of utf-16 on all builds.
The patch is by Adam Olsen.
2009-10-28 21:59:39 +00:00
R. David Murray 7b1b094ff1 Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines

  Remove variable that is no longer used.
........
2009-10-28 14:07:51 +00:00
Mark Dickinson 70ec8ee2ed Remove extra blank line accidentally introduced in r75885 2009-10-27 23:00:56 +00:00
Georg Brandl 035265540a Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line

  Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
2009-10-27 23:00:28 +00:00
Mark Dickinson a9023be873 Merged revisions 75883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line

  Test long inputs to float
........
2009-10-27 22:12:20 +00:00
Antoine Pitrou c00d4b437d Merged revisions 75874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (mar., 27 oct. 2009) | 4 lines

  Reduce the probability of refleaks in test_socketserver.
  Not completely suppressed though, see issue #7222.
........
2009-10-27 21:32:38 +00:00
Tarek Ziadé 8c0e217158 Merged revisions 75871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line

  Issue #7218: Fix test_site for win32
........
2009-10-27 21:24:21 +00:00
Georg Brandl 96f7897dd2 Merged revisions 75866-75867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75866 | georg.brandl | 2009-10-27 21:52:02 +0100 (Di, 27 Okt 2009) | 1 line

  Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
........
  r75867 | georg.brandl | 2009-10-27 21:55:44 +0100 (Di, 27 Okt 2009) | 1 line

  Reformat the regrtest command-line option help and group the options into sections.
........
2009-10-27 21:02:11 +00:00
Antoine Pitrou 1568732d73 Merged revisions 75860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (mar., 27 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_distutils.
........
2009-10-27 20:21:45 +00:00
Antoine Pitrou aefe6af18f Merged revisions 75855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75855 | antoine.pitrou | 2009-10-27 21:14:04 +0100 (mar., 27 oct. 2009) | 3 lines

  Fix transient refleaks in test_urllib2_localnet.
........
2009-10-27 20:17:03 +00:00
Antoine Pitrou b0e9bd4741 Merged revisions 75851 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75851 | antoine.pitrou | 2009-10-27 21:02:23 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_threading.
........
2009-10-27 20:05:26 +00:00
Antoine Pitrou c3d47724c1 Merged revisions 75849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75849 | antoine.pitrou | 2009-10-27 20:47:30 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_smtplib.
........
2009-10-27 19:49:45 +00:00
Antoine Pitrou 836f0e217e Merged revisions 75842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75842 | antoine.pitrou | 2009-10-27 20:23:56 +0100 (mar., 27 oct. 2009) | 3 lines

  Fix transient refleak in test_sys.
........
2009-10-27 19:25:57 +00:00
Antoine Pitrou 45ebeb8f24 Merged revisions 75838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75838 | antoine.pitrou | 2009-10-27 19:50:52 +0100 (mar., 27 oct. 2009) | 3 lines

  (Hopefully) suppress transient refleaks in test_httpservers.
........
2009-10-27 18:52:30 +00:00
Antoine Pitrou 5ed353c293 Merged revisions 75826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75826 | antoine.pitrou | 2009-10-27 19:36:47 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_asyncore
........
2009-10-27 18:49:23 +00:00
Antoine Pitrou c66363f5e0 Merged revisions 75818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines

  Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once.
........
2009-10-27 17:47:14 +00:00
Mark Dickinson 3a22b4fa99 Issue #7207: Fix race condition in telnetlib test; should stop test failures on OS X 10.6. 2009-10-26 22:48:32 +00:00
Mark Dickinson f972488213 Remove length limitation on string arguments to complex() 2009-10-26 21:51:18 +00:00
Mark Dickinson 2d7062e1b4 Merged revisions 75711 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line

  Skip readline tests if readline module is not available.
........
2009-10-26 12:01:06 +00:00
R. David Murray 0548ce088d Make the XMLRCP CGIHandlerTestCase pass like it did before the change of
the test to use StringIO instead of a temp file.  There may or may not
be an underlying problem here, so this patch makes the test function
as originally designed until a determination can be made as to whether
or not there is an underlying bug here.  See issue 7165 for discussion.
2009-10-26 08:24:14 +00:00
Antoine Pitrou 6103ab1d0b Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0). 2009-10-24 20:11:21 +00:00
Mark Dickinson 55d110c82c Add tests for sys.float_repr_style 2009-10-24 14:04:48 +00:00
Antoine Pitrou 899d1c64e3 Merged revisions 75624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines

  Fix Windows buildbot failure
........
2009-10-23 21:55:36 +00:00
Antoine Pitrou 97115d190a Merged revisions 75633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines

  Issue #7194: test_thread could try to release an unacquired mutex (and fail).
........
2009-10-23 18:34:17 +00:00
Raymond Hettinger af7adad51d Peephole constant folding had missed UNARY_POSITIVE. 2009-10-22 11:22:50 +00:00
Antoine Pitrou 6a354d7e08 Another futile error in the previous commit :-( 2009-10-20 22:05:38 +00:00
Antoine Pitrou be03eec2e6 Merged revisions 75574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines

  Test wouldn't work in debug mode.
  We probably need a function in test_support to handle this.
........
2009-10-20 22:02:29 +00:00
Antoine Pitrou 011bd62c8c Merged revisions 75570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines

  Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which
  fixes the problem of some exceptions being thrown at shutdown when the
  interpreter is killed. Patch by Adam Olsen.
........
2009-10-20 21:52:47 +00:00
Mark Dickinson 06bb6746ed Merged revisions 75561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines

  Issue #7099: Decimal.is_normal should return True for all nonzero
  finite non-subnormal values, even those with exponent > Emax.
........
2009-10-20 13:38:04 +00:00
R. David Murray afaf48b953 Remove comment that went with the print_lock that was previously deleted. 2009-10-20 11:18:29 +00:00
Antoine Pitrou 6a448d4c2e Issue #7080: locale.strxfrm() raises a MemoryError on 64-bit non-Windows
platforms, and assorted locale fixes by Derk Drukker.
2009-10-19 19:43:09 +00:00
R. David Murray 723357e014 Merged revisions 75528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines

  Clarify error report message, and don't recommend running in verbose
  mode for more information if we are already running in verbose mode.
........
2009-10-19 18:06:17 +00:00
R. David Murray 9da8197570 Since all regrtest -j output is now done in the main thread we are no
longer using the print lock, so remove it.
2009-10-19 16:53:55 +00:00
R. David Murray 8054fbd300 Merged revisions 75524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines

  Eliminate warning message that looks like an error message.  When it was
  added not finding Lib/test in the path indicated something was wrong,
  but when running regtest using "python -m" Lib/test isn't typically in
  the path, so this message is now more disturbing than it is helpful.
........
2009-10-19 16:33:43 +00:00
R. David Murray 769d819022 The stdout from tests is no longer compared against anything (not even
to make sure it is empty), so eliminate the message that says running
under verbose is different from running without it.
2009-10-19 16:15:22 +00:00
R. David Murray 0938644685 Note that on py3k we are actually looking at sys.stdout, not sys.__stdout__.
Merged revisions 75518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines

  Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
  last false positive when running regrtest with -j.
........
2009-10-19 16:04:44 +00:00
R. David Murray 2714460ac0 Merged revisions 75503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75503 | r.david.murray | 2009-10-18 17:12:37 -0400 (Sun, 18 Oct 2009) | 11 lines

  Issue #7151: regrtest would generate a JSON failure if there was output
  to stderr during the test run and it happened to get emitted after the
  worker thread emitted the result JSON.  Now we capture stdout and stderr
  separately, which avoids that problem.  It also means that _all_ stderr
  output is after all stdout output when we print the test results, but
  that seems acceptable, since output ordering is not guaranteed anyway.
  The patch also moves the emit of the test name into the output block
  generated after the test completes.  Otherwise test names and test
  output/errors were mixed in the terminal display, making it difficult
  to determine which test generated the output.
........
2009-10-19 15:26:16 +00:00