]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 80172 via svnmerge from
Giampaolo Rodolà [Sun, 18 Apr 2010 13:13:54 +0000 (13:13 +0000)]
Merged revisions 80172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80172 | giampaolo.rodola | 2010-04-18 14:55:03 +0200 (dom, 18 apr 2010) | 1 line

  Fix Issue #3817: 225 is now considered a valid response code for ABOR
........

14 years agoRemove link to nonexisting target.
Georg Brandl [Sun, 18 Apr 2010 09:46:52 +0000 (09:46 +0000)]
Remove link to nonexisting target.

14 years agoMerged revisions 80030 via svnmerge from
Georg Brandl [Sun, 18 Apr 2010 09:31:55 +0000 (09:31 +0000)]
Merged revisions 80030 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line

  Get rid of multi-row cells.
........

14 years agoMerged revisions 80146 via svnmerge from
Senthil Kumaran [Sat, 17 Apr 2010 14:33:55 +0000 (14:33 +0000)]
Merged revisions 80146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80146 | senthil.kumaran | 2010-04-17 20:00:53 +0530 (Sat, 17 Apr 2010) | 3 lines

  Fix Issue5650 - Update the RFC List in the urlparse module.
........

14 years agoMerged revisions 80129 via svnmerge from
Benjamin Peterson [Fri, 16 Apr 2010 23:00:54 +0000 (23:00 +0000)]
Merged revisions 80129 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80129 | benjamin.peterson | 2010-04-16 17:52:44 -0500 (Fri, 16 Apr 2010) | 1 line

  tiny simplification
........

14 years agoMerged revisions 80123-80124,80126 via svnmerge from
Benjamin Peterson [Fri, 16 Apr 2010 22:43:53 +0000 (22:43 +0000)]
Merged revisions 80123-80124,80126 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80123 | benjamin.peterson | 2010-04-16 17:24:16 -0500 (Fri, 16 Apr 2010) | 1 line

  bytearray -> type2test
........
  r80124 | benjamin.peterson | 2010-04-16 17:25:57 -0500 (Fri, 16 Apr 2010) | 1 line

  fix typo
........
  r80126 | benjamin.peterson | 2010-04-16 17:35:38 -0500 (Fri, 16 Apr 2010) | 1 line

  have a clear error when passing something > sys.maxsize to bytearray
........

14 years agoMerged revisions 80062 via svnmerge from
R. David Murray [Tue, 13 Apr 2010 21:05:24 +0000 (21:05 +0000)]
Merged revisions 80062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80062 | r.david.murray | 2010-04-13 16:57:40 -0400 (Tue, 13 Apr 2010) | 2 lines

  Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
........

14 years agoBlocked revisions 80035 via svnmerge
Mark Dickinson [Tue, 13 Apr 2010 11:50:59 +0000 (11:50 +0000)]
Blocked revisions 80035 via svnmerge

........
  r80035 | mark.dickinson | 2010-04-13 12:37:23 +0100 (Tue, 13 Apr 2010) | 1 line

  In test_winsound, don't try to import _winreg until after checking that winsound is supported.
........

14 years agoMerged revisions 80026 via svnmerge from
Brian Curtin [Tue, 13 Apr 2010 02:39:59 +0000 (02:39 +0000)]
Merged revisions 80026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80026 | brian.curtin | 2010-04-12 21:25:20 -0500 (Mon, 12 Apr 2010) | 4 lines

  Fix #7306. Add skips to test_winsound when no default sound is configured.

  These failures occur on a Windows Server 2003 machine I test on.
........

14 years agoMerged revisions 79875 via svnmerge from
Mark Dickinson [Mon, 12 Apr 2010 18:43:56 +0000 (18:43 +0000)]
Merged revisions 79875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79875 | mark.dickinson | 2010-04-06 23:18:23 +0100 (Tue, 06 Apr 2010) | 1 line

  More NaN consistency doc fixes.
........

14 years agoBlocked revisions 80004 via svnmerge
R. David Murray [Mon, 12 Apr 2010 16:40:20 +0000 (16:40 +0000)]
Blocked revisions 80004 via svnmerge

........
  r80004 | r.david.murray | 2010-04-12 12:35:19 -0400 (Mon, 12 Apr 2010) | 13 lines

  Issue #7585: use tab between components in unified and context diff headers.

  Instead of spaces between the filename and date (or whatever the string
  is that follows the filename, if any) use tabs.  This is what the unix
  'diff' command does, for example, and difflib was intended to follow
  the 'standard' way of doing diffs.  This improves compatibility with
  patch tools.  The docs and examples are also changed to recommended that
  the date format used be the ISO 8601 format, which is what modern diff
  tools emit by default.

  Patch by Anatoly Techtonik.
........

14 years agoMerged revisions 80000 via svnmerge from
Stefan Krah [Mon, 12 Apr 2010 15:29:47 +0000 (15:29 +0000)]
Merged revisions 80000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80000 | stefan.krah | 2010-04-12 17:21:25 +0200 (Mon, 12 Apr 2010) | 3 lines

  Issue #8367: Fix spurious test failure on systems without a sound card.
........

14 years agoMerged revisions 79988 via svnmerge from
Senthil Kumaran [Mon, 12 Apr 2010 06:56:24 +0000 (06:56 +0000)]
Merged revisions 79988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79988 | senthil.kumaran | 2010-04-12 12:20:24 +0530 (Mon, 12 Apr 2010) | 3 lines

  Adding additional examples of valid urls as per RFC 3986 (for issue8339)
........

14 years agoMerged revisions 79982 via svnmerge from
Antoine Pitrou [Mon, 12 Apr 2010 00:19:32 +0000 (00:19 +0000)]
Merged revisions 79982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79982 | antoine.pitrou | 2010-04-12 02:10:46 +0200 (lun., 12 avril 2010) | 8 lines

  It is possible to add extra testing options using EXTRATESTOPTS.
  When such extra options include "-x testname", subsequent arguments
  are all taken as test names to ignore. Therefore, standard options
  must be passed before *TESTOPTS.

  (witnessed on the ARM buildbots)
........

14 years agoMerged revisions 79954 via svnmerge from
Stefan Krah [Sun, 11 Apr 2010 16:36:10 +0000 (16:36 +0000)]
Merged revisions 79954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79954 | stefan.krah | 2010-04-11 17:15:54 +0200 (Sun, 11 Apr 2010) | 17 lines

  Fix for issues #3581, #1481 and #7650:

  1. The assumptions in check_node() were too restrictive:

       - Hardware addresses with universal_local_bit=1 are valid
         (locally administered).

       - Many of the tested functions (including uuid.getnode())
         may return valid RFC 4122 random node IDs. These are pretty
         much random 48-bit values with the multicast bit set to 1.

  2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
     on some platforms. The resulting TypeError is now caught.
........

14 years agoAdd descriptor howto to main documentation
Raymond Hettinger [Sun, 11 Apr 2010 08:17:32 +0000 (08:17 +0000)]
Add descriptor howto to main documentation

14 years agoAdd the sorting HOWTO to the main docs.
Raymond Hettinger [Sun, 11 Apr 2010 00:03:33 +0000 (00:03 +0000)]
Add the sorting HOWTO to the main docs.

14 years agoFixup new itertools recipes.
Raymond Hettinger [Sat, 10 Apr 2010 06:51:41 +0000 (06:51 +0000)]
Fixup new itertools recipes.

14 years agoMerged revisions 79910 via svnmerge from
Antoine Pitrou [Fri, 9 Apr 2010 20:44:09 +0000 (20:44 +0000)]
Merged revisions 79910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79910 | antoine.pitrou | 2010-04-09 22:38:39 +0200 (ven., 09 avril 2010) | 4 lines

  SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6.  Fix compilation
  with earlier versions.
........

14 years agoremove use of 2.7 unittest features
Benjamin Peterson [Wed, 7 Apr 2010 20:40:30 +0000 (20:40 +0000)]
remove use of 2.7 unittest features

14 years agoBlocked revisions 79885 via svnmerge
Stefan Krah [Wed, 7 Apr 2010 08:53:25 +0000 (08:53 +0000)]
Blocked revisions 79885 via svnmerge

........
  r79885 | stefan.krah | 2010-04-07 10:24:44 +0200 (Wed, 07 Apr 2010) | 1 line

  Issue #8328: Silence Visual Studio warnings.
........

14 years agoBlocked revisions 79314,79316,79320,79528 via svnmerge
Ezio Melotti [Wed, 7 Apr 2010 05:14:03 +0000 (05:14 +0000)]
Blocked revisions 79314,79316,79320,79528 via svnmerge

........
  r79314 | ezio.melotti | 2010-03-23 01:07:32 +0200 (Tue, 23 Mar 2010) | 1 line

  Update the version number of the Unicode Database in a few more places.
........
  r79316 | ezio.melotti | 2010-03-23 02:25:19 +0200 (Tue, 23 Mar 2010) | 1 line

  Remove link to objects.rst (gone in r79179).
........
  r79320 | ezio.melotti | 2010-03-23 02:38:12 +0200 (Tue, 23 Mar 2010) | 1 line

  Link specifically to the UCD version 5.2.0.
........
  r79528 | ezio.melotti | 2010-03-31 11:33:50 +0300 (Wed, 31 Mar 2010) | 1 line

  Silence a py3k warning.
........

14 years agoMerged revisions 79871 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 22:11:54 +0000 (22:11 +0000)]
Merged revisions 79871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79871 | mark.dickinson | 2010-04-06 23:10:55 +0100 (Tue, 06 Apr 2010) | 2 lines

  Use consistent spelling for nans (thanks Georg for noticing).
........

14 years agoMerged revisions 79866-79867 via svnmerge from
Benjamin Peterson [Tue, 6 Apr 2010 21:55:35 +0000 (21:55 +0000)]
Merged revisions 79866-79867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79866 | benjamin.peterson | 2010-04-06 16:37:06 -0500 (Tue, 06 Apr 2010) | 1 line

  use skip decorator
........
  r79867 | benjamin.peterson | 2010-04-06 16:50:00 -0500 (Tue, 06 Apr 2010) | 1 line

  remove a optimization that resulted in unexpected behavior #8929
........

14 years agoMerged revisions 79858 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 19:52:05 +0000 (19:52 +0000)]
Merged revisions 79858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79858 | mark.dickinson | 2010-04-06 20:50:03 +0100 (Tue, 06 Apr 2010) | 3 lines

  Issue #7947:  Clarify math module behaviour for IEEE 754 special cases, along
  with a number of additional minor edits and typo corrections.
........

14 years agoBlocked revisions 79852 via svnmerge
Mark Dickinson [Tue, 6 Apr 2010 18:22:38 +0000 (18:22 +0000)]
Blocked revisions 79852 via svnmerge

........
  r79852 | mark.dickinson | 2010-04-06 19:20:11 +0100 (Tue, 06 Apr 2010) | 1 line

  Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator.
........

14 years agoMerged revisions 79848 via svnmerge from
Antoine Pitrou [Tue, 6 Apr 2010 17:24:02 +0000 (17:24 +0000)]
Merged revisions 79848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79848 | antoine.pitrou | 2010-04-06 19:21:09 +0200 (mar., 06 avril 2010) | 3 lines

  Issue #8193: Fix test_zlib failure with zlib 1.2.4.
........

14 years agoBlocked revisions 79843-79844 via svnmerge
Mark Dickinson [Tue, 6 Apr 2010 16:55:43 +0000 (16:55 +0000)]
Blocked revisions 79843-79844 via svnmerge

........
  r79843 | mark.dickinson | 2010-04-06 17:46:09 +0100 (Tue, 06 Apr 2010) | 4 lines

  Issue #8259: Get rid of 'outrageous left shift count' error when
  left-shifting an integer by more than 2**31 on a 64-bit machine.  Also
  convert shift counts to a Py_ssize_t instead of a C long.
........
  r79844 | mark.dickinson | 2010-04-06 17:47:55 +0100 (Tue, 06 Apr 2010) | 1 line

  Misc/NEWS entry for r79843.
........

14 years agoFix incorrect stacklevel for struct warnings. (Partial backport of r78690).
Mark Dickinson [Tue, 6 Apr 2010 15:19:40 +0000 (15:19 +0000)]
Fix incorrect stacklevel for struct warnings.  (Partial backport of r78690).

14 years agoBlocked revisions 79818 via svnmerge
Ezio Melotti [Tue, 6 Apr 2010 14:43:22 +0000 (14:43 +0000)]
Blocked revisions 79818 via svnmerge

........
  r79818 | ezio.melotti | 2010-04-06 06:26:49 +0300 (Tue, 06 Apr 2010) | 1 line

  Fix several links and other mistakes.
........

14 years agoBlocked revisions 79826 via svnmerge
Eric Smith [Tue, 6 Apr 2010 14:32:21 +0000 (14:32 +0000)]
Blocked revisions 79826 via svnmerge

........
  r79826 | eric.smith | 2010-04-06 10:30:15 -0400 (Tue, 06 Apr 2010) | 1 line

  Fixed PEP 378 example.
........

14 years agoBlocked revisions 79809 via svnmerge
Mark Dickinson [Tue, 6 Apr 2010 13:35:54 +0000 (13:35 +0000)]
Blocked revisions 79809 via svnmerge

........
  r79809 | mark.dickinson | 2010-04-05 19:54:51 +0100 (Mon, 05 Apr 2010) | 1 line

  Use a better NaN test in _Py_HashDouble as well.
........

14 years agoBlocked revisions 79804 via svnmerge
Mark Dickinson [Mon, 5 Apr 2010 18:10:18 +0000 (18:10 +0000)]
Blocked revisions 79804 via svnmerge

........
  r79804 | mark.dickinson | 2010-04-05 19:07:51 +0100 (Mon, 05 Apr 2010) | 5 lines

  Use a more robust infinity check in _Py_HashDouble.

  This fixes a test_decimal failure on FreeBSD 8.0.  (modf apparently
  doesn't follow C99 Annex F on FreeBSD.)
........

14 years agoBlocked revisions 79801 via svnmerge
Tarek Ziadé [Mon, 5 Apr 2010 14:59:36 +0000 (14:59 +0000)]
Blocked revisions 79801 via svnmerge

........
  r79801 | tarek.ziade | 2010-04-05 16:58:14 +0200 (Mon, 05 Apr 2010) | 1 line

  added a note for Andrew, about distutils2
........

14 years agoMerged revisions 79797 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 12:55:05 +0000 (12:55 +0000)]
Merged revisions 79797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix some broken URLs.
........

14 years ago#7721: replace code that works only in 2.7+ with equivalent.
Georg Brandl [Mon, 5 Apr 2010 11:46:16 +0000 (11:46 +0000)]
#7721: replace code that works only in 2.7+ with equivalent.

14 years agoBlocked revisions 79788 via svnmerge
Ezio Melotti [Mon, 5 Apr 2010 08:19:19 +0000 (08:19 +0000)]
Blocked revisions 79788 via svnmerge

........
  r79788 | ezio.melotti | 2010-04-05 11:16:41 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup errors.
........

14 years agoMerged revisions 79786 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 08:08:36 +0000 (08:08 +0000)]
Merged revisions 79786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79786 | ezio.melotti | 2010-04-05 11:02:54 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup, punctuation and whitespaces in _winreg.rst.
........

14 years agoMerged revisions 79781 via svnmerge from
Ezio Melotti [Mon, 5 Apr 2010 04:00:14 +0000 (04:00 +0000)]
Merged revisions 79781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79781 | ezio.melotti | 2010-04-05 06:51:38 +0300 (Mon, 05 Apr 2010) | 1 line

  #8212: rephrase the webservers howto and fix some mistakes.
........

14 years agoBlocked revisions 79768 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 23:29:59 +0000 (23:29 +0000)]
Blocked revisions 79768 via svnmerge

........
  r79768 | ezio.melotti | 2010-04-05 02:21:53 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup in decimal.rst.
........

14 years agoMerged revisions 79769 via svnmerge from
Benjamin Peterson [Sun, 4 Apr 2010 23:27:35 +0000 (23:27 +0000)]
Merged revisions 79769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79769 | benjamin.peterson | 2010-04-04 18:23:22 -0500 (Sun, 04 Apr 2010) | 1 line

  fix dis on new style classes #8310
........

14 years agoMerged revisions 79763 via svnmerge from
Benjamin Peterson [Sun, 4 Apr 2010 23:15:45 +0000 (23:15 +0000)]
Merged revisions 79763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79763 | benjamin.peterson | 2010-04-04 18:03:22 -0500 (Sun, 04 Apr 2010) | 1 line

  fix tabs
........

14 years agoBlocked revisions 79756 via svnmerge
Mark Dickinson [Sun, 4 Apr 2010 22:13:45 +0000 (22:13 +0000)]
Blocked revisions 79756 via svnmerge

........
  r79756 | mark.dickinson | 2010-04-04 23:09:21 +0100 (Sun, 04 Apr 2010) | 6 lines

  Add versionchanged entry for Decimal(float) construction.

  Also add an example of constructing a Decimal directly from a float,
  update the quickstart tutorial, and tweak another couple of
  sentences.
........

14 years agoBlocked revisions 79751 via svnmerge
Mark Dickinson [Sun, 4 Apr 2010 21:28:02 +0000 (21:28 +0000)]
Blocked revisions 79751 via svnmerge

........
  r79751 | mark.dickinson | 2010-04-04 22:19:35 +0100 (Sun, 04 Apr 2010) | 1 line

  A handful of whitespace fixes in Modules/_struct.c.
........

14 years agoBlocked revisions 79740 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 07:00:48 +0000 (07:00 +0000)]
Blocked revisions 79740 via svnmerge

........
  r79740 | ezio.melotti | 2010-04-04 10:00:02 +0300 (Sun, 04 Apr 2010) | 1 line

  Use more specific assert* methods in test_struct.
........

14 years agoBlocked revisions 79735 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 06:51:32 +0000 (06:51 +0000)]
Blocked revisions 79735 via svnmerge

........
  r79735 | ezio.melotti | 2010-04-04 09:50:58 +0300 (Sun, 04 Apr 2010) | 1 line

  Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo.
........

14 years agoBlocked revisions 79660,79733 via svnmerge
Ezio Melotti [Sun, 4 Apr 2010 06:43:43 +0000 (06:43 +0000)]
Blocked revisions 79660,79733 via svnmerge

........
  r79660 | raymond.hettinger | 2010-04-03 13:22:00 +0300 (Sat, 03 Apr 2010) | 1 line

  Add subtract() method to collections.Counter() objects.
........
  r79733 | ezio.melotti | 2010-04-04 09:41:27 +0300 (Sun, 04 Apr 2010) | 1 line

  Add a versionadded to Counter.subtract() doc.
........

14 years agoBlocked revisions 79707 via svnmerge
Mark Dickinson [Sat, 3 Apr 2010 16:44:40 +0000 (16:44 +0000)]
Blocked revisions 79707 via svnmerge

........
  r79707 | mark.dickinson | 2010-04-03 17:41:20 +0100 (Sat, 03 Apr 2010) | 5 lines

  Ensure 'module removed' warning messages contain the word 'module' or 'package'.

  This should fix the test_py3kwarn failure on OS X.  test_support.import_module
  also requires this.
........

14 years agoBlocked revisions 79699 via svnmerge
Mark Dickinson [Sat, 3 Apr 2010 15:48:11 +0000 (15:48 +0000)]
Blocked revisions 79699 via svnmerge

........
  r79699 | mark.dickinson | 2010-04-03 16:47:46 +0100 (Sat, 03 Apr 2010) | 1 line

  Add Misc/NEWS entry for r79609.
........

14 years agoBlocked revisions 79624 via svnmerge
Ezio Melotti [Sat, 3 Apr 2010 15:37:56 +0000 (15:37 +0000)]
Blocked revisions 79624 via svnmerge

........
  r79624 | ezio.melotti | 2010-04-03 00:43:10 +0300 (Sat, 03 Apr 2010) | 1 line

  Fix test_compiler.py that was using unittest.__file__ to find Lib/ (unittest is now a package).
........

14 years agoBlocked revisions 79540-79541 via svnmerge
Ezio Melotti [Sat, 3 Apr 2010 15:22:53 +0000 (15:22 +0000)]
Blocked revisions 79540-79541 via svnmerge

........
  r79540 | ezio.melotti | 2010-04-01 01:18:09 +0300 (Thu, 01 Apr 2010) | 1 line

  Add -Wd and -3 to the flags used to run the tests.
........
  r79541 | ezio.melotti | 2010-04-01 01:43:31 +0300 (Thu, 01 Apr 2010) | 1 line

  Add -Wd and -3 to the flags used to run the tests on Windows.
........

14 years agoBlocked revisions 79678 via svnmerge
Ezio Melotti [Sat, 3 Apr 2010 14:54:45 +0000 (14:54 +0000)]
Blocked revisions 79678 via svnmerge

........
  r79678 | ezio.melotti | 2010-04-03 17:51:00 +0300 (Sat, 03 Apr 2010) | 1 line

  Use more specific assert* methods in test_decimal.
........

14 years agoBlocked revisions 79674 via svnmerge
Mark Dickinson [Sat, 3 Apr 2010 14:09:10 +0000 (14:09 +0000)]
Blocked revisions 79674 via svnmerge

........
  r79674 | mark.dickinson | 2010-04-03 15:05:10 +0100 (Sat, 03 Apr 2010) | 3 lines

  Issue #8300:  Let struct.pack use __index__ to convert and pack non-integers.
  Based on a patch by Meador Inge.
........

14 years agoBlocked revisions 79629 via svnmerge
Mark Dickinson [Sat, 3 Apr 2010 11:20:06 +0000 (11:20 +0000)]
Blocked revisions 79629 via svnmerge

........
  r79629 | mark.dickinson | 2010-04-02 23:27:36 +0100 (Fri, 02 Apr 2010) | 2 lines

  Issue #8294:  Allow float and Decimal arguments in Fraction constructor.
........

14 years agoBlocked revisions 79583,79588-79589 via svnmerge
Mark Dickinson [Sat, 3 Apr 2010 11:05:09 +0000 (11:05 +0000)]
Blocked revisions 79583,79588-79589 via svnmerge

........
  r79583 | mark.dickinson | 2010-04-02 09:53:22 +0100 (Fri, 02 Apr 2010) | 7 lines

  Issue #2531: Make float-to-decimal comparisons return correct results.

  Float to decimal comparison operations now return a result based on
  the numeric values of the operands.  Decimal.__hash__ has also been
  fixed so that Decimal and float values that compare equal have equal
  hash value.
........
  r79588 | mark.dickinson | 2010-04-02 11:17:07 +0100 (Fri, 02 Apr 2010) | 2 lines

  Issue #7279:  Make comparisons involving a Decimal sNaN signal InvalidOperation.
........
  r79589 | mark.dickinson | 2010-04-02 11:35:12 +0100 (Fri, 02 Apr 2010) | 6 lines

  Issue #7279:  Make Decimal('nan') hashable.  Decimal('snan') remains unhashable.

  Also rewrite the Decimal __hash__ method so that it doesn't rely on
  float('inf') being valid: float('inf') could raise an exception on
  platforms not using IEEE 754 arithmetic.
........

14 years agoMerged revisions 79661 via svnmerge from
Mark Dickinson [Sat, 3 Apr 2010 10:46:46 +0000 (10:46 +0000)]
Merged revisions 79661 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79661 | mark.dickinson | 2010-04-03 11:27:05 +0100 (Sat, 03 Apr 2010) | 14 lines

  Fix a couple of issues with the test_structmembersType class in _testcapimodule

   - rename to _test_structmembersType to avoid the class being automatically
     called by test_capi

   - allow space for trailing NUL in inplace_member field of all_structmembers

   - use T_STRING_INPLACE instead of T_INPLACE_STRING as keyword argument
     to _test_structmembersType initializer

   - don't attempt to initialize inplace_member field if T_STRING_INPLACE
     argument wasn't supplied.
........

14 years agoRemove use of skipUnless; this was causing test_structmembers to fail.
Mark Dickinson [Sat, 3 Apr 2010 10:44:11 +0000 (10:44 +0000)]
Remove use of skipUnless;  this was causing test_structmembers to fail.

14 years agoMerged revisions 79654 via svnmerge from
Victor Stinner [Sat, 3 Apr 2010 08:42:35 +0000 (08:42 +0000)]
Merged revisions 79654 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79654 | victor.stinner | 2010-04-03 10:40:16 +0200 (sam., 03 avril 2010) | 5 lines

  Issue #8227: Fix C API documentation, argument parsing

   * 'z', 'z#', 'z*' does also accept Unicode
   * unify types name: replace "string or Unicode objet" by "string or Unicode"
........

14 years agoBlocked revisions 79652 via svnmerge
Tarek Ziadé [Sat, 3 Apr 2010 08:39:10 +0000 (08:39 +0000)]
Blocked revisions 79652 via svnmerge

........
  r79652 | tarek.ziade | 2010-04-03 10:37:59 +0200 (Sat, 03 Apr 2010) | 1 line

  Issue #1222585: Added LDCXXSHARED for C++ support
........

14 years agoMerged revisions 79642,79644 via svnmerge from
Benjamin Peterson [Sat, 3 Apr 2010 01:40:44 +0000 (01:40 +0000)]
Merged revisions 79642,79644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79642 | benjamin.peterson | 2010-04-02 20:08:34 -0500 (Fri, 02 Apr 2010) | 1 line

  split out large test function
........
  r79644 | benjamin.peterson | 2010-04-02 20:28:57 -0500 (Fri, 02 Apr 2010) | 1 line

  give TypeError when trying to set T_STRING_INPLACE
........

14 years agoMerged revisions 79582 via svnmerge from
Ezio Melotti [Fri, 2 Apr 2010 22:13:35 +0000 (22:13 +0000)]
Merged revisions 79582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79582 | georg.brandl | 2010-04-02 11:51:31 +0300 (Fri, 02 Apr 2010) | 1 line

  Fix typo in unicode character name.
........

14 years agoBlocked revisions 79618 via svnmerge
Tarek Ziadé [Fri, 2 Apr 2010 21:15:01 +0000 (21:15 +0000)]
Blocked revisions 79618 via svnmerge

........
  r79618 | tarek.ziade | 2010-04-02 23:14:04 +0200 (Fri, 02 Apr 2010) | 1 line

  removed the local copy of xxmodule, and skip only test_build_ext when xxmodule is not found, not the whole unittest
........

14 years agoUndo accidental change in r79612.
Mark Dickinson [Fri, 2 Apr 2010 19:28:02 +0000 (19:28 +0000)]
Undo accidental change in r79612.

14 years agoUndo temporary commits r79601 and r79560.
Mark Dickinson [Fri, 2 Apr 2010 19:24:36 +0000 (19:24 +0000)]
Undo temporary commits r79601 and r79560.

14 years agoAdd missing position specifiers in format string.
Mark Dickinson [Fri, 2 Apr 2010 14:01:22 +0000 (14:01 +0000)]
Add missing position specifiers in format string.

14 years agoBlocked revisions 79596 via svnmerge
Eric Smith [Fri, 2 Apr 2010 12:36:29 +0000 (12:36 +0000)]
Blocked revisions 79596 via svnmerge

........
  r79596 | eric.smith | 2010-04-02 08:30:56 -0400 (Fri, 02 Apr 2010) | 1 line

  Issue 7994: Make object.__format__ with a non-empty format string a PendingDecprecationWarning. Still need to remove uses of this from various tests.
........

14 years agoCleanup itertools recipes
Raymond Hettinger [Fri, 2 Apr 2010 06:21:59 +0000 (06:21 +0000)]
Cleanup itertools recipes

14 years agoAdd and update itertools recipes.
Raymond Hettinger [Fri, 2 Apr 2010 02:37:33 +0000 (02:37 +0000)]
Add and update itertools recipes.

14 years agoOutput extra debug info for fromhex tests, to aid diagnosis of issue 8265.
Mark Dickinson [Thu, 1 Apr 2010 20:49:45 +0000 (20:49 +0000)]
Output extra debug info for fromhex tests, to aid diagnosis of issue 8265.

This commit is temporary, and will be reverted within the next 3 days.

14 years agoDocument the link to the HowTo guide.
Raymond Hettinger [Thu, 1 Apr 2010 07:25:26 +0000 (07:25 +0000)]
Document the link to the HowTo guide.

14 years agoMerged revisions 79543 via svnmerge from
Brian Curtin [Thu, 1 Apr 2010 04:03:45 +0000 (04:03 +0000)]
Merged revisions 79543 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79543 | brian.curtin | 2010-03-31 23:02:00 -0500 (Wed, 31 Mar 2010) | 2 lines

  Fix a test_pydoc failure on Neal Norwitz's buildbot.
........

14 years agoMerged revisions 79529 via svnmerge from
Brian Curtin [Wed, 31 Mar 2010 17:43:52 +0000 (17:43 +0000)]
Merged revisions 79529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

14 years agoRemove paragraph about inefficiency of lists used as queues now that the example...
Ezio Melotti [Wed, 31 Mar 2010 07:39:45 +0000 (07:39 +0000)]
Remove paragraph about inefficiency of lists used as queues now that the example uses deque.

14 years agoBlocked revisions 79522 via svnmerge
Ezio Melotti [Wed, 31 Mar 2010 07:32:22 +0000 (07:32 +0000)]
Blocked revisions 79522 via svnmerge

........
  r79522 | ezio.melotti | 2010-03-31 10:26:24 +0300 (Wed, 31 Mar 2010) | 1 line

  Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list.
........

14 years agoMerged revisions 79518 via svnmerge from
Brian Curtin [Wed, 31 Mar 2010 03:14:27 +0000 (03:14 +0000)]
Merged revisions 79518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79518 | brian.curtin | 2010-03-30 22:10:21 -0500 (Tue, 30 Mar 2010) | 2 lines

  Fix #8225. xml.etree was displaying an incorrect link when viewed in help.
........

14 years agoBlocked revisions 79494,79496-79498 via svnmerge
Florent Xicluna [Tue, 30 Mar 2010 20:00:18 +0000 (20:00 +0000)]
Blocked revisions 79494,79496-79498 via svnmerge

........
  r79494 | florent.xicluna | 2010-03-30 10:24:06 +0200 (mar, 30 mar 2010) | 2 lines

  #7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14.
........
  r79496 | florent.xicluna | 2010-03-30 18:29:03 +0200 (mar, 30 mar 2010) | 2 lines

  Highlight the change of behavior related to r79494.  Now VT and FF are linebreaks.
........
  r79497 | florent.xicluna | 2010-03-30 18:31:14 +0200 (mar, 30 mar 2010) | 2 lines

  #8263: Now regrtest.py will report a failure if it receives a KeyboardInterrupt (SIGINT).
........
  r79498 | florent.xicluna | 2010-03-30 18:42:47 +0200 (mar, 30 mar 2010) | 2 lines

  fix ACKS: alphabetic order and UTF-8
........

14 years agoFix an oversight in merge r78282.
Florent Xicluna [Tue, 30 Mar 2010 10:39:44 +0000 (10:39 +0000)]
Fix an oversight in merge r78282.

14 years agoMerged revisions 79047 via svnmerge from
Senthil Kumaran [Mon, 29 Mar 2010 19:30:44 +0000 (19:30 +0000)]
Merged revisions 79047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79047 | senthil.kumaran | 2010-03-18 17:44:15 +0530 (Thu, 18 Mar 2010) | 3 lines

  Fix for Issue8135 - urllib.unquote to support mixed percent escapes
........

14 years agoUpdate itertools recipes.
Raymond Hettinger [Sun, 28 Mar 2010 18:12:35 +0000 (18:12 +0000)]
Update itertools recipes.

14 years agoMerged revisions 79195,79425,79427,79450 via svnmerge from
Florent Xicluna [Sun, 28 Mar 2010 09:37:55 +0000 (09:37 +0000)]
Merged revisions 79195,79425,79427,79450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79195 | florent.xicluna | 2010-03-21 13:27:20 +0100 (dim, 21 mar 2010) | 2 lines

  Issue #8179: Fix macpath.realpath() on a non-existing path.
........
  r79425 | florent.xicluna | 2010-03-25 21:32:07 +0100 (jeu, 25 mar 2010) | 2 lines

  Syntax cleanup `== None` -> `is None`
........
  r79427 | florent.xicluna | 2010-03-25 21:39:10 +0100 (jeu, 25 mar 2010) | 2 lines

  Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest"
........
  r79450 | florent.xicluna | 2010-03-26 20:32:44 +0100 (ven, 26 mar 2010) | 2 lines

  Ensure that the failed or unexpected tests are sorted before printing.
........

14 years agoBlocked revisions 79207,79288,79295-79296,79310,79334,79344,79346,79350,79378,79382...
Florent Xicluna [Sun, 28 Mar 2010 09:35:22 +0000 (09:35 +0000)]
Blocked revisions 79207,79288,79295-79296,79310,79334,79344,79346,79350,79378,79382,79426 via svnmerge

........
  r79207 | florent.xicluna | 2010-03-21 19:00:38 +0100 (dim, 21 mar 2010) | 2 lines

  #8180: Fix test_pep277 on OS X and add more tests for special Unicode normalization cases.
........
  r79288 | florent.xicluna | 2010-03-22 16:02:46 +0100 (lun, 22 mar 2010) | 2 lines

  Get rid of buffer() in test_ctypes:  backport the 3.x tests.
........
  r79295 | florent.xicluna | 2010-03-22 17:07:38 +0100 (lun, 22 mar 2010) | 3 lines

  Issue #7703: ctypes supports both buffer() and memoryview().  The former is deprecated.
  Complement of r79288.
........
  r79296 | florent.xicluna | 2010-03-22 17:36:51 +0100 (lun, 22 mar 2010) | 3 lines

  Preserve backward compatibility of the ctypes module.
  "This file should be kept compatible with Python 2.3, see PEP 291."
........
  r79310 | florent.xicluna | 2010-03-22 23:52:11 +0100 (lun, 22 mar 2010) | 2 lines

  Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only).
........
  r79334 | florent.xicluna | 2010-03-23 12:07:54 +0100 (mar, 23 mar 2010) | 2 lines

  Skip test_format_deprecation if _ctypes is not available.  Add a filter to the warning check.
........
  r79344 | florent.xicluna | 2010-03-23 15:36:45 +0100 (mar, 23 mar 2010) | 2 lines

  Silence test_subprocess.
........
  r79346 | florent.xicluna | 2010-03-23 16:05:30 +0100 (mar, 23 mar 2010) | 2 lines

  The standard error should be empty when the signal is killed, except on SIGINT.
........
  r79350 | florent.xicluna | 2010-03-23 20:19:16 +0100 (mar, 23 mar 2010) | 2 lines

  The SIGINT signal may happen earlier, during site.py initialization.
........
  r79378 | florent.xicluna | 2010-03-24 18:32:58 +0100 (mer, 24 mar 2010) | 3 lines

  Skip test_ascii_formatd if _ctypes is not available (BSD, ...).
  Previous change was incomplete (r79334).
........
  r79382 | florent.xicluna | 2010-03-24 20:33:25 +0100 (mer, 24 mar 2010) | 2 lines

  Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available.
........
  r79426 | florent.xicluna | 2010-03-25 21:33:49 +0100 (jeu, 25 mar 2010) | 2 lines

  #8207: Fix test_pep277 on OS X
........

14 years agoBlocked revisions 79455,79457 via svnmerge
Mark Dickinson [Sat, 27 Mar 2010 11:17:24 +0000 (11:17 +0000)]
Blocked revisions 79455,79457 via svnmerge

........
  r79455 | mark.dickinson | 2010-03-27 11:09:29 +0000 (Sat, 27 Mar 2010) | 2 lines

  Make Fraction to complex comparisons with <=, <, >= or > raise TypeError.
........
  r79457 | mark.dickinson | 2010-03-27 11:14:37 +0000 (Sat, 27 Mar 2010) | 1 line

  Add Misc/NEWS entry for r79455.
........

14 years agoMerged revisions 79448 via svnmerge from
Antoine Pitrou [Fri, 26 Mar 2010 19:33:53 +0000 (19:33 +0000)]
Merged revisions 79448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79448 | antoine.pitrou | 2010-03-26 20:27:16 +0100 (ven., 26 mars 2010) | 6 lines

  Issue #8222: Enable the SSL_MODE_AUTO_RETRY flag on SSL sockets, so that blocking
  reads and writes are always retried by OpenSSL itself.

  (this is a followup to issue #3890)
........

14 years agoMerged revisions 79430 via svnmerge from
Brian Curtin [Thu, 25 Mar 2010 23:56:05 +0000 (23:56 +0000)]
Merged revisions 79430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines

  Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
........

14 years agoBlocked revisions 79392 via svnmerge
Victor Stinner [Thu, 25 Mar 2010 01:05:37 +0000 (01:05 +0000)]
Blocked revisions 79392 via svnmerge

........
  r79392 | victor.stinner | 2010-03-25 01:21:53 +0100 (jeu., 25 mars 2010) | 3 lines

  Issue #8211: Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
  optimizations are disabled when --with-pydebug is used.
........

14 years agoMerged revisions 79395 via svnmerge from
Victor Stinner [Thu, 25 Mar 2010 00:53:11 +0000 (00:53 +0000)]
Merged revisions 79395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79395 | victor.stinner | 2010-03-25 01:51:58 +0100 (jeu., 25 mars 2010) | 5 lines

  Fix _curses.tiget*() functions: deny None to avoid a crash.

  Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None),
  _curses.tigetstr(None).
........

14 years agoBlocked revisions 79388 via svnmerge
Steven Bethard [Wed, 24 Mar 2010 23:11:37 +0000 (23:11 +0000)]
Blocked revisions 79388 via svnmerge

........
  r79388 | steven.bethard | 2010-03-24 16:03:24 -0700 (Wed, 24 Mar 2010) | 1 line

  Replace license with simple attribution.
........

14 years agoMerged revisions 79362 via svnmerge from
Ezio Melotti [Tue, 23 Mar 2010 23:54:33 +0000 (23:54 +0000)]
Merged revisions 79362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79362 | ezio.melotti | 2010-03-24 01:53:20 +0200 (Wed, 24 Mar 2010) | 1 line

  Another typo.
........

14 years agoMerged revisions 79358 via svnmerge from
Ezio Melotti [Tue, 23 Mar 2010 23:27:51 +0000 (23:27 +0000)]
Merged revisions 79358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79358 | ezio.melotti | 2010-03-24 01:26:21 +0200 (Wed, 24 Mar 2010) | 1 line

  #8217: typo.
........

14 years agoMerged revisions 79351 via svnmerge from
Benjamin Peterson [Tue, 23 Mar 2010 21:02:50 +0000 (21:02 +0000)]
Merged revisions 79351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79351 | benjamin.peterson | 2010-03-23 15:58:37 -0500 (Tue, 23 Mar 2010) | 1 line

  the == test doesn't work on Solaris #8210
........

14 years agoBlocked revisions 77911 via svnmerge
Ezio Melotti [Tue, 23 Mar 2010 15:58:17 +0000 (15:58 +0000)]
Blocked revisions 77911 via svnmerge

........
  r77911 | ezio.melotti | 2010-02-02 17:12:42 +0200 (Tue, 02 Feb 2010) | 1 line

  Silence a couple of -3 warnings
........

14 years agoBlocked revisions 77548,77796,77809 via svnmerge
Ezio Melotti [Tue, 23 Mar 2010 14:48:47 +0000 (14:48 +0000)]
Blocked revisions 77548,77796,77809 via svnmerge

........
  r77548 | ezio.melotti | 2010-01-16 21:36:42 +0200 (Sat, 16 Jan 2010) | 1 line

  remove wrong markup
........
  r77796 | ezio.melotti | 2010-01-27 22:25:11 +0200 (Wed, 27 Jan 2010) | 1 line

  #7765: typos
........
  r77809 | ezio.melotti | 2010-01-28 03:41:30 +0200 (Thu, 28 Jan 2010) | 1 line

  avoid to use zlib when the compress type is not ZIP_DEFLATED
........

14 years agoMove entry for r79342 to the right section.
Florent Xicluna [Tue, 23 Mar 2010 13:32:34 +0000 (13:32 +0000)]
Move entry for r79342 to the right section.

14 years agoMerged revisions 79297,79307 via svnmerge from
Florent Xicluna [Tue, 23 Mar 2010 13:30:12 +0000 (13:30 +0000)]
Merged revisions 79297,79307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79297 | florent.xicluna | 2010-03-22 18:18:18 +0100 (lun, 22 mar 2010) | 2 lines

  #7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes.
........
  r79307 | florent.xicluna | 2010-03-22 23:45:50 +0100 (lun, 22 mar 2010) | 2 lines

  #7667: Fix doctest failures with non-ASCII paths.
........

14 years agoMerged revisions 77298 via svnmerge from
Ezio Melotti [Tue, 23 Mar 2010 13:24:15 +0000 (13:24 +0000)]
Merged revisions 77298 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77298 | ezio.melotti | 2010-01-04 11:00:11 +0200 (Mon, 04 Jan 2010) | 1 line

  fixed markup errors
........

14 years agoMerged revisions 73824,78887,78895,78900,79024 via svnmerge from
Ezio Melotti [Tue, 23 Mar 2010 13:20:39 +0000 (13:20 +0000)]
Merged revisions 73824,78887,78895,78900,79024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73824 | ezio.melotti | 2009-07-04 04:18:08 +0300 (Sat, 04 Jul 2009) | 1 line

  #6398 typo: versio. -> version.
........
  r78887 | ezio.melotti | 2010-03-13 02:15:36 +0200 (Sat, 13 Mar 2010) | 1 line

  fix broken links
........
  r78895 | ezio.melotti | 2010-03-13 03:21:34 +0200 (Sat, 13 Mar 2010) | 1 line

  #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names.
........
  r78900 | ezio.melotti | 2010-03-13 06:39:51 +0200 (Sat, 13 Mar 2010) | 1 line

  Silence compiler warnings.
........
  r79024 | ezio.melotti | 2010-03-17 16:22:34 +0200 (Wed, 17 Mar 2010) | 1 line

  Use "x in y" instead of y.find(x) != -1.
........

14 years agoBlocked revisions 73841,73931,74011,74754,77136,77178,77180,77715,77727,77749,77755...
Ezio Melotti [Tue, 23 Mar 2010 13:14:23 +0000 (13:14 +0000)]
Blocked revisions 73841,73931,74011,74754,77136,77178,77180,77715,77727,77749,77755,77841,77871,77910,77912-77913,77942,78109,78136,78211,78249,78319,78486,78954,79023 via svnmerge

........
  r73841 | ezio.melotti | 2009-07-04 17:58:27 +0300 (Sat, 04 Jul 2009) | 1 line

  if zlib -> skipUnless(zlib) and minor cleanups
........
  r73931 | ezio.melotti | 2009-07-10 23:25:56 +0300 (Fri, 10 Jul 2009) | 1 line

  more cleanups and if zlib -> skipUnless(zlib)
........
  r74011 | ezio.melotti | 2009-07-15 20:07:04 +0300 (Wed, 15 Jul 2009) | 1 line

  methods' names pep8ification
........
  r74754 | ezio.melotti | 2009-09-12 17:43:43 +0300 (Sat, 12 Sep 2009) | 1 line

  #6026 - fix tests that failed without zlib
........
  r77136 | ezio.melotti | 2009-12-30 08:14:51 +0200 (Wed, 30 Dec 2009) | 1 line

  #5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
........
  r77178 | ezio.melotti | 2009-12-31 15:00:43 +0200 (Thu, 31 Dec 2009) | 1 line

  cleanup and refactoring
........
  r77180 | ezio.melotti | 2009-12-31 15:27:41 +0200 (Thu, 31 Dec 2009) | 1 line

  indentation and further alignment with py3k
........
  r77715 | ezio.melotti | 2010-01-24 01:04:36 +0200 (Sun, 24 Jan 2010) | 1 line

  use assert[Not]In where appropriate
........
  r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line

  use assert[Not]IsInstance where appropriate
........
  r77749 | ezio.melotti | 2010-01-25 14:37:02 +0200 (Mon, 25 Jan 2010) | 1 line

  Add a news entry for the functions verify and vereq that have been removed in r77729 and r77731
........
  r77755 | ezio.melotti | 2010-01-26 17:57:21 +0200 (Tue, 26 Jan 2010) | 1 line

  #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd.
........
  r77841 | ezio.melotti | 2010-01-30 09:22:54 +0200 (Sat, 30 Jan 2010) | 1 line

  #7092: silence py3k warnings for deprecated modules
........
  r77871 | ezio.melotti | 2010-01-31 13:46:54 +0200 (Sun, 31 Jan 2010) | 1 line

  #7092: silence more -3 and -Wd warnings
........
  r77910 | ezio.melotti | 2010-02-02 10:37:35 +0200 (Tue, 02 Feb 2010) | 1 line

  #7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.
........
  r77912 | ezio.melotti | 2010-02-02 17:57:45 +0200 (Tue, 02 Feb 2010) | 1 line

  Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.
........
  r77913 | ezio.melotti | 2010-02-02 19:34:37 +0200 (Tue, 02 Feb 2010) | 1 line

  #7092: Silence py3k warnings in test_exceptions and test_pep352. Patch by Florent Xicluna.
........
  r77942 | ezio.melotti | 2010-02-03 07:37:26 +0200 (Wed, 03 Feb 2010) | 1 line

  #7092: Silence more py3k warnings. Patch by Florent Xicluna.
........
  r78109 | ezio.melotti | 2010-02-08 23:52:08 +0200 (Mon, 08 Feb 2010) | 1 line

  Fix exc_value -> exception in docstring
........
  r78136 | ezio.melotti | 2010-02-10 23:40:33 +0200 (Wed, 10 Feb 2010) | 1 line

  #7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
........
  r78211 | ezio.melotti | 2010-02-17 01:58:49 +0200 (Wed, 17 Feb 2010) | 1 line

  #7941: fix error message
........
  r78249 | ezio.melotti | 2010-02-20 11:40:07 +0200 (Sat, 20 Feb 2010) | 1 line

  Remove e assertIs definitions and use correct assert* methods.
........
  r78319 | ezio.melotti | 2010-02-22 18:30:58 +0200 (Mon, 22 Feb 2010) | 1 line

  #7482: clarify error message in case of division by zero of float and complex numbers.
........
  r78486 | ezio.melotti | 2010-02-27 14:42:52 +0200 (Sat, 27 Feb 2010) | 1 line

  Add a test for normpath to test_macpath.
........
  r78954 | ezio.melotti | 2010-03-14 12:13:49 +0200 (Sun, 14 Mar 2010) | 1 line

  Add a link about the Public Review Issue #29
........
  r79023 | ezio.melotti | 2010-03-17 15:52:48 +0200 (Wed, 17 Mar 2010) | 1 line

  #7092: silence some more py3k warnings.
........

14 years agoBlocked revisions 78508-78509,78582,78585,78594,78606,78652-78653,78661-78662,78671...
Florent Xicluna [Tue, 23 Mar 2010 12:47:46 +0000 (12:47 +0000)]
Blocked revisions 78508-78509,78582,78585,78594,78606,78652-78653,78661-78662,78671,78673,78675,78701,78704,78719-78721,78726,78732,78734-78736,78757-78759,78761,78767,78769,78777,78787-78790,78794,78815,78828,78830,78832-78833,78838-78839,78917,78919,78934,78937,78944,78966,78982,78986,79030-79032,79049,79059,79100,79127,79156,79159,79165,79187-79189,79191,79194 via svnmerge

........
  r78508 | florent.xicluna | 2010-02-27 20:20:50 +0100 (sam, 27 fév 2010) | 2 lines

  Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
........
  r78509 | florent.xicluna | 2010-02-27 22:15:27 +0100 (sam, 27 fév 2010) | 2 lines

  Fix an oversight in r78508: p.wait() should be compared to 0
........
  r78582 | florent.xicluna | 2010-03-02 17:00:00 +0100 (mar, 02 mar 2010) | 2 lines

  Refactor test_dict using assertRaises.
........
  r78585 | florent.xicluna | 2010-03-02 22:34:45 +0100 (mar, 02 mar 2010) | 2 lines

  Tentatively enable test_pep277 on all platforms.
........
  r78594 | florent.xicluna | 2010-03-02 23:34:11 +0100 (mar, 02 mar 2010) | 2 lines

  Test test_pep277 is only relevant for Unicode-friendly filesystems.
........
  r78606 | florent.xicluna | 2010-03-03 00:56:38 +0100 (mer, 03 mar 2010) | 2 lines

  Fix wording.
........
  r78652 | florent.xicluna | 2010-03-04 16:57:20 +0100 (jeu, 04 mar 2010) | 2 lines

  Fix transient refleak in test_popen2.
........
  r78653 | florent.xicluna | 2010-03-04 16:58:54 +0100 (jeu, 04 mar 2010) | 2 lines

  #7805: wait until all workers are started before collecting their PIDs
........
  r78661 | florent.xicluna | 2010-03-04 20:40:48 +0100 (jeu, 04 mar 2010) | 2 lines

  Cleanup.
........
  r78662 | florent.xicluna | 2010-03-04 22:31:58 +0100 (jeu, 04 mar 2010) | 2 lines

  #2777: Enable test_send_signal, test_kill and test_terminate on all platforms.
........
  r78671 | florent.xicluna | 2010-03-05 01:47:40 +0100 (ven, 05 mar 2010) | 3 lines

  Workaround #3137: Retry SIGINT if it is not received the first time.
  test_send_signal should not hang anymore on various Linux distributions.
........
  r78673 | florent.xicluna | 2010-03-05 02:05:55 +0100 (ven, 05 mar 2010) | 2 lines

  Let's use assertIsNone / assertIsNotNone. It's hype.
........
  r78675 | florent.xicluna | 2010-03-05 02:12:14 +0100 (ven, 05 mar 2010) | 2 lines

  These line should not be there.
........
  r78701 | florent.xicluna | 2010-03-05 20:31:21 +0100 (ven, 05 mar 2010) | 2 lines

  #2777: Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot).
........
  r78704 | florent.xicluna | 2010-03-06 01:16:57 +0100 (sam, 06 mar 2010) | 2 lines

  #2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.
........
  r78719 | florent.xicluna | 2010-03-06 09:07:44 +0100 (sam, 06 mar 2010) | 3 lines

  Keep the test files in the ./build/ subdirectory, if Python is not installed.
  Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
........
  r78720 | florent.xicluna | 2010-03-06 10:11:55 +0100 (sam, 06 mar 2010) | 2 lines

  Print platform information to stdout, to help troubleshooting platform-specific failures.
........
  r78721 | florent.xicluna | 2010-03-06 10:54:14 +0100 (sam, 06 mar 2010) | 2 lines

  #2777: Apply same recipe on win32, i.e. do not inherit file handles.
........
  r78726 | florent.xicluna | 2010-03-06 15:38:09 +0100 (sam, 06 mar 2010) | 2 lines

  Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor adjustments.
........
  r78732 | florent.xicluna | 2010-03-06 18:24:36 +0100 (sam, 06 mar 2010) | 2 lines

  Do not print the header lines when running a single test.
........
  r78734 | florent.xicluna | 2010-03-06 19:07:18 +0100 (sam, 06 mar 2010) | 2 lines

  Create test_genericpath.CommonTest and reuse it to test other path modules.
........
  r78735 | florent.xicluna | 2010-03-06 19:52:52 +0100 (sam, 06 mar 2010) | 2 lines

  Minor tweaking of previous r78734, and add a NEWS entry.
........
  r78736 | florent.xicluna | 2010-03-06 20:43:41 +0100 (sam, 06 mar 2010) | 2 lines

  Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release.
........
  r78757 | florent.xicluna | 2010-03-07 13:14:25 +0100 (dim, 07 mar 2010) | 2 lines

  Fix some py3k warnings in the standard library.
........
  r78758 | florent.xicluna | 2010-03-07 13:18:33 +0100 (dim, 07 mar 2010) | 4 lines

  Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are
  effectively raised.  A new utility ``check_py3k_warnings`` deals with py3k warnings.
........
  r78759 | florent.xicluna | 2010-03-07 13:21:36 +0100 (dim, 07 mar 2010) | 2 lines

  #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
........
  r78761 | florent.xicluna | 2010-03-07 16:27:39 +0100 (dim, 07 mar 2010) | 4 lines

  Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms.
  Do not hide the KeyboardInterrupt on POSIX platforms.
........
  r78767 | florent.xicluna | 2010-03-07 18:12:23 +0100 (dim, 07 mar 2010) | 2 lines

  #2777: Try hard to make Win7 buildbot happy...
........
  r78769 | florent.xicluna | 2010-03-07 20:14:12 +0100 (dim, 07 mar 2010) | 2 lines

  Refresh the documentation for the test.test_support module.
........
  r78777 | florent.xicluna | 2010-03-08 00:49:03 +0100 (lun, 08 mar 2010) | 4 lines

  Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717.
  It should fix transient failures on test_multiprocessing.
........
  r78787 | florent.xicluna | 2010-03-08 08:21:16 +0100 (lun, 08 mar 2010) | 2 lines

  Don't fail on a debug() statement, if the worker PID is (still) None.
........
  r78788 | florent.xicluna | 2010-03-08 11:58:12 +0100 (lun, 08 mar 2010) | 2 lines

  Fix syntax: "rc != None" -> "rc is not None"
........
  r78789 | florent.xicluna | 2010-03-08 11:59:33 +0100 (lun, 08 mar 2010) | 2 lines

  Replace the stderr logging with assertNotEqual(returncode, 0).
........
  r78790 | florent.xicluna | 2010-03-08 12:01:39 +0100 (lun, 08 mar 2010) | 2 lines

  On finalize, don't try to join not started process.
........
  r78794 | florent.xicluna | 2010-03-08 13:39:35 +0100 (lun, 08 mar 2010) | 2 lines

  Move some tests from test_macpath to test_genericpath.CommonTest
........
  r78815 | florent.xicluna | 2010-03-09 20:57:01 +0100 (mar, 09 mar 2010) | 2 lines

  #7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag.
........
  r78828 | florent.xicluna | 2010-03-11 00:58:42 +0100 (jeu, 11 mar 2010) | 2 lines

  Issue #7880: Fix sysconfig when the python executable is a symbolic link.
........
  r78830 | florent.xicluna | 2010-03-11 01:56:59 +0100 (jeu, 11 mar 2010) | 3 lines

  Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
  It does not fix #7774.
........
  r78832 | florent.xicluna | 2010-03-11 02:39:55 +0100 (jeu, 11 mar 2010) | 2 lines

  It is not optimal to test sys.stderr on a debug build.
........
  r78833 | florent.xicluna | 2010-03-11 02:50:48 +0100 (jeu, 11 mar 2010) | 2 lines

  Revert r78830: realpath() should really be applied to sys.executable.
........
  r78838 | florent.xicluna | 2010-03-11 15:36:19 +0100 (jeu, 11 mar 2010) | 2 lines

  Issue #6472: The xml.etree package is updated to ElementTree 1.3.  The cElementTree module is updated too.
........
  r78839 | florent.xicluna | 2010-03-11 16:55:11 +0100 (jeu, 11 mar 2010) | 2 lines

  Fix repr of tree Element on windows.
........
  r78917 | florent.xicluna | 2010-03-13 12:18:49 +0100 (sam, 13 mar 2010) | 2 lines

  Move the xml test data to their own directory.
........
  r78919 | florent.xicluna | 2010-03-13 13:41:48 +0100 (sam, 13 mar 2010) | 2 lines

  Do not chdir when running test_xml_etree, and enhance the findfile helper.
........
  r78934 | florent.xicluna | 2010-03-13 18:56:19 +0100 (sam, 13 mar 2010) | 2 lines

  Update some parts of the xml.etree documentation.
........
  r78937 | florent.xicluna | 2010-03-13 21:30:15 +0100 (sam, 13 mar 2010) | 3 lines

  Add the keyword argument "method=None" to the .write() method and the tostring/tostringlist functions.
  Update the function, class and method signatures, according to the new convention.
........
  r78944 | florent.xicluna | 2010-03-14 02:22:09 +0100 (dim, 14 mar 2010) | 2 lines

  Minor documentation updates for xml.etree.
........
  r78966 | florent.xicluna | 2010-03-14 16:20:59 +0100 (dim, 14 mar 2010) | 2 lines

  Do not hardcode Expat version.  It's possible to build Python with --with-system-expat option.
........
  r78982 | florent.xicluna | 2010-03-15 15:00:58 +0100 (lun, 15 mar 2010) | 2 lines

  Remove py3k deprecation warnings from these Unicode tools.
........
  r78986 | florent.xicluna | 2010-03-15 19:08:58 +0100 (lun, 15 mar 2010) | 3 lines

  Issue #7783 and #7787: open_urlresource invalidates the outdated files from the local cache.
  Use this feature to fix test_normalization.
........
  r79030 | florent.xicluna | 2010-03-17 20:05:04 +0100 (mer, 17 mar 2010) | 2 lines

  Cleanup in test_import and test_coding.
........
  r79031 | florent.xicluna | 2010-03-17 20:15:56 +0100 (mer, 17 mar 2010) | 2 lines

  Cleanup some test cases using check_warnings and check_py3k_warnings.
........
  r79032 | florent.xicluna | 2010-03-17 21:05:11 +0100 (mer, 17 mar 2010) | 2 lines

  Fix and check cgi module deprecation warnings.  Revert an unwanted rename in test_import.
........
  r79049 | florent.xicluna | 2010-03-18 20:51:47 +0100 (jeu, 18 mar 2010) | 2 lines

  #8155: Preserve backward compatibility for test_support.check_warnings().  Add regression tests.
........
  r79059 | florent.xicluna | 2010-03-18 22:50:06 +0100 (jeu, 18 mar 2010) | 2 lines

  Issue #8024: Update the Unicode database to 5.2
........
  r79100 | florent.xicluna | 2010-03-19 19:34:55 +0100 (ven, 19 mar 2010) | 2 lines

  Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
........
  r79127 | florent.xicluna | 2010-03-20 01:17:46 +0100 (sam, 20 mar 2010) | 2 lines

  #8178 Cleanup the threads after test_thread.TestForkInThread.
........
  r79156 | florent.xicluna | 2010-03-20 23:21:02 +0100 (sam, 20 mar 2010) | 2 lines

  Cleanup test_struct using check_warnings.
........
  r79159 | florent.xicluna | 2010-03-20 23:26:42 +0100 (sam, 20 mar 2010) | 2 lines

  Cleanup test_tarfile, and use check_warnings.
........
  r79165 | florent.xicluna | 2010-03-21 02:14:24 +0100 (dim, 21 mar 2010) | 2 lines

  #7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper.
........
  r79187 | florent.xicluna | 2010-03-21 11:50:44 +0100 (dim, 21 mar 2010) | 2 lines

  Silence more py3k warnings in unittest.case.
........
  r79188 | florent.xicluna | 2010-03-21 11:51:40 +0100 (dim, 21 mar 2010) | 2 lines

  Fix py3k warnings in test_decimal, using unittest.assertItemsEqual.
........
  r79189 | florent.xicluna | 2010-03-21 12:03:21 +0100 (dim, 21 mar 2010) | 2 lines

  Silence some py3k SyntaxWarning using check_py3k_warnings() with "exec" statements.
........
  r79191 | florent.xicluna | 2010-03-21 12:50:17 +0100 (dim, 21 mar 2010) | 3 lines

  No more deprecation warnings for distutils.sysconfig, following r78666.
  But when the "dl" module is available, it gives a py3k deprecation warning.
........
  r79194 | florent.xicluna | 2010-03-21 12:58:11 +0100 (dim, 21 mar 2010) | 2 lines

  Use assertRaises and add a specific warning filter.
........

14 years agoMerged revisions 78800 via svnmerge from
Florent Xicluna [Tue, 23 Mar 2010 12:37:29 +0000 (12:37 +0000)]
Merged revisions 78800 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78800 | florent.xicluna | 2010-03-08 16:20:28 +0100 (lun, 08 mar 2010) | 2 lines

  #7624: Fix isinstance(foo(), collections.Callable) for old-style classes.
........

14 years agoMerged revisions 78722 via svnmerge from
Florent Xicluna [Tue, 23 Mar 2010 12:17:59 +0000 (12:17 +0000)]
Merged revisions 78722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78722 | florent.xicluna | 2010-03-06 12:01:08 +0100 (sam, 06 mar 2010) | 2 lines

  #6906: TCL_LIBRARY and TK_LIBRARY environment variables should be encoded.
........