1. 04 Apr, 2010 3 commits
    • Ezio Melotti's avatar
      Blocked revisions 79740 via svnmerge · b5cbc33c
      Ezio Melotti authored
      ........
        r79740 | ezio.melotti | 2010-04-04 10:00:02 +0300 (Sun, 04 Apr 2010) | 1 line
      
        Use more specific assert* methods in test_struct.
      ........
      b5cbc33c
    • Ezio Melotti's avatar
      Blocked revisions 79735 via svnmerge · c347275b
      Ezio Melotti authored
      ........
        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.
      ........
      c347275b
    • Ezio Melotti's avatar
      Blocked revisions 79660,79733 via svnmerge · afe40512
      Ezio Melotti authored
      ........
        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.
      ........
      afe40512
  2. 03 Apr, 2010 13 commits
    • Mark Dickinson's avatar
      Blocked revisions 79707 via svnmerge · 901194ed
      Mark Dickinson authored
      ........
        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.
      ........
      901194ed
    • Mark Dickinson's avatar
      Blocked revisions 79699 via svnmerge · 8d324587
      Mark Dickinson authored
      ........
        r79699 | mark.dickinson | 2010-04-03 16:47:46 +0100 (Sat, 03 Apr 2010) | 1 line
      
        Add Misc/NEWS entry for r79609.
      ........
      8d324587
    • Ezio Melotti's avatar
      Blocked revisions 79624 via svnmerge · 456a913d
      Ezio Melotti authored
      ........
        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).
      ........
      456a913d
    • Ezio Melotti's avatar
      Blocked revisions 79540-79541 via svnmerge · 37572b9d
      Ezio Melotti authored
      ........
        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.
      ........
      37572b9d
    • Ezio Melotti's avatar
      Blocked revisions 79678 via svnmerge · c50a5b26
      Ezio Melotti authored
      ........
        r79678 | ezio.melotti | 2010-04-03 17:51:00 +0300 (Sat, 03 Apr 2010) | 1 line
      
        Use more specific assert* methods in test_decimal.
      ........
      c50a5b26
    • Mark Dickinson's avatar
      Blocked revisions 79674 via svnmerge · edb48448
      Mark Dickinson authored
      ........
        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.
      ........
      edb48448
    • Mark Dickinson's avatar
      Blocked revisions 79629 via svnmerge · 989e6d4b
      Mark Dickinson authored
      ........
        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.
      ........
      989e6d4b
    • Mark Dickinson's avatar
      Blocked revisions 79583,79588-79589 via svnmerge · dbae3a8e
      Mark Dickinson authored
      ........
        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.
      ........
      dbae3a8e
    • Mark Dickinson's avatar
      Merged revisions 79661 via svnmerge from · d9a91305
      Mark Dickinson authored
      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.
      ........
      d9a91305
    • Mark Dickinson's avatar
    • Victor Stinner's avatar
      Merged revisions 79654 via svnmerge from · 295359cb
      Victor Stinner authored
      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"
      ........
      295359cb
    • Tarek Ziadé's avatar
      Blocked revisions 79652 via svnmerge · 72ff0f07
      Tarek Ziadé authored
      ........
        r79652 | tarek.ziade | 2010-04-03 10:37:59 +0200 (Sat, 03 Apr 2010) | 1 line
      
        Issue #1222585: Added LDCXXSHARED for C++ support
      ........
      72ff0f07
    • Benjamin Peterson's avatar
      Merged revisions 79642,79644 via svnmerge from · 498289ef
      Benjamin Peterson authored
      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
      ........
      498289ef
  3. 02 Apr, 2010 8 commits
  4. 01 Apr, 2010 3 commits
  5. 31 Mar, 2010 4 commits
  6. 30 Mar, 2010 2 commits
    • Florent Xicluna's avatar
      Blocked revisions 79494,79496-79498 via svnmerge · 65014f15
      Florent Xicluna authored
      ........
        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
      ........
      65014f15
    • Florent Xicluna's avatar
      Fix an oversight in merge r78282. · dc92ce97
      Florent Xicluna authored
      dc92ce97
  7. 29 Mar, 2010 1 commit
  8. 28 Mar, 2010 3 commits
    • Raymond Hettinger's avatar
      Update itertools recipes. · 6044655d
      Raymond Hettinger authored
      6044655d
    • Florent Xicluna's avatar
      Merged revisions 79195,79425,79427,79450 via svnmerge from · 3522e040
      Florent Xicluna authored
      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.
      ........
      3522e040
    • Florent Xicluna's avatar
      Blocked revisions... · cbf32718
      Florent Xicluna authored
      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
      ........
      cbf32718
  9. 27 Mar, 2010 1 commit
    • Mark Dickinson's avatar
      Blocked revisions 79455,79457 via svnmerge · c02f4d49
      Mark Dickinson authored
      ........
        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.
      ........
      c02f4d49
  10. 26 Mar, 2010 1 commit
  11. 25 Mar, 2010 1 commit