Commit Graph

40128 Commits

Author SHA1 Message Date
Benjamin Peterson 08fd672e67 Merged revisions 77862 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77862 | benjamin.peterson | 2010-01-30 13:36:43 -0600 (Sat, 30 Jan 2010) | 12 lines

  Merged revisions 76050 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines

    see http://bugs.python.org/issue1006238 this merges in the following
    patch to make cross compilation of the chflags check easier:

     http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
  ........
................
2010-01-30 19:51:43 +00:00
Mark Dickinson ca300b8eb0 Blocked revisions 77859 via svnmerge
........
  r77859 | mark.dickinson | 2010-01-30 18:06:17 +0000 (Sat, 30 Jan 2010) | 1 line

  Move docstrings for long.to_bytes and long.from_bytes after the corresponding functions.
........
2010-01-30 18:06:52 +00:00
Ezio Melotti bd3418151a Blocked revisions 77852 via svnmerge
................
  r77852 | ezio.melotti | 2010-01-30 15:32:14 +0200 (Sat, 30 Jan 2010) | 13 lines

  Merged revisions 77850-77851 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77850 | ezio.melotti | 2010-01-30 15:08:54 +0200 (Sat, 30 Jan 2010) | 1 line

    Relocate a couple of stars and remove redundant backticks
  ........
    r77851 | ezio.melotti | 2010-01-30 15:27:05 +0200 (Sat, 30 Jan 2010) | 1 line

    Use the correct markup for args
  ........
................
2010-01-30 13:35:06 +00:00
Martin v. Löwis 5577eaa1e3 Merged revisions 77848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77848 | martin.v.loewis | 2010-01-30 12:05:48 +0100 (Sa, 30 Jan 2010) | 20 lines

  Merged revisions 77846 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ................
    r77846 | martin.v.loewis | 2010-01-30 11:56:23 +0100 (Sa, 30 Jan 2010) | 13 lines

    Merged revisions 77419,77435 via svnmerge from
    svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

    ........
      r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line

      enclose path in quotes to handle paths with spaces correctly #7666
    ........
      r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines

      Issue #1967: Add fixer for dictionary views.
    ........
  ................
................
2010-01-30 11:22:26 +00:00
Mark Dickinson 34343df543 Blocked revisions 77843 via svnmerge
................
  r77843 | mark.dickinson | 2010-01-30 10:30:15 +0000 (Sat, 30 Jan 2010) | 11 lines

  Merged revisions 77842 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77842 | mark.dickinson | 2010-01-30 10:08:33 +0000 (Sat, 30 Jan 2010) | 4 lines

    Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
    long long variant of PyLong_AsLongAndOverflow.  Patch by Case Van
    Horsen.
  ........
................
2010-01-30 10:32:16 +00:00
Victor Stinner f49c67a75b Merged revisions 77838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77838 | victor.stinner | 2010-01-30 03:16:55 +0100 (sam., 30 janv. 2010) | 4 lines

  #7801: fix xmlrpclib binary example, open the picture in binary mode

  Use also the with syntax (consistent with python trunk example).
........
2010-01-30 02:19:14 +00:00
R. David Murray 533e5568ff Recorded merge of revisions 77831 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77831 | r.david.murray | 2010-01-29 17:17:58 -0500 (Fri, 29 Jan 2010) | 9 lines

  Merged revisions 77828 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77828 | r.david.murray | 2010-01-29 14:35:39 -0500 (Fri, 29 Jan 2010) | 2 lines

    Fix typo in assertSequenceEqual docstring.
  ........
................
2010-01-29 22:29:35 +00:00
R. David Murray d1a9058dda Fix typo in assertSequenceEqual docstring. 2010-01-29 22:26:45 +00:00
R. David Murray 60eab4618d Blocked revisions 77825 via svnmerge
................
  r77825 | r.david.murray | 2010-01-29 12:55:47 -0500 (Fri, 29 Jan 2010) | 10 lines

  Merged revisions 77815 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77815 | r.david.murray | 2010-01-28 16:16:33 -0500 (Thu, 28 Jan 2010) | 3 lines

    Change error report when the object passed to suite.addTest is not
    callable to include the repr of the invalid object.
  ........
................
2010-01-29 18:01:56 +00:00
Mark Dickinson a53f2c997e Merged revisions 77823 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77823 | mark.dickinson | 2010-01-29 17:27:24 +0000 (Fri, 29 Jan 2010) | 10 lines

  Merged revisions 77821 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines

    Issue #7788: Fix a crash produced by deleting a list slice with huge
    step value.  Patch by Marcin Bachry.
  ........
................
2010-01-29 17:29:21 +00:00
Tarek Ziadé d692c4a754 Blocked revisions 77818-77819 via svnmerge
................
  r77818 | tarek.ziade | 2010-01-29 12:41:03 +0100 (Fri, 29 Jan 2010) | 13 lines

  Merged revisions 77704,77752 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line

    taking sysconfig out of distutils
  ........
    r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line

    switched the call order so this call works without suffering from issue #7774
  ........
................
  r77819 | tarek.ziade | 2010-01-29 12:46:31 +0100 (Fri, 29 Jan 2010) | 13 lines

  Merged revisions 77759,77761 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line

    reintroduced the names in Distutils for APIs that were relocated
  ........
    r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line

    added local get_platform/set_platform APIs in distutils.sysconfig
  ........
................
2010-01-29 11:51:11 +00:00
Ezio Melotti 3e1096ddaa Merged revisions 77803 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77803 | ezio.melotti | 2010-01-28 00:44:03 +0200 (Thu, 28 Jan 2010) | 1 line

  updated/removed a few versionadded/versionchanged
........
2010-01-27 22:53:48 +00:00
Antoine Pitrou ad433dca0c Blocked revisions 77800 via svnmerge
................
  r77800 | antoine.pitrou | 2010-01-27 22:18:57 +0100 (mer., 27 janv. 2010) | 14 lines

  Merged revisions 77798 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines

    Issue #7610: Reworked implementation of the internal
    :class:`zipfile.ZipExtFile` class used to represent files stored inside
    an archive.  The new implementation is significantly faster and can
    be wrapped in a :class:`io.BufferedReader` object for more speedups.
    It also solves an issue where interleaved calls to `read()` and
    `readline()` give wrong results.  Patch by Nir Aides.
  ........
................
2010-01-27 21:30:04 +00:00
Benjamin Peterson 69de157237 Merged revisions 77791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77791 | benjamin.peterson | 2010-01-26 20:25:58 -0600 (Tue, 26 Jan 2010) | 9 lines

  Merged revisions 77789 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line

    raise a clear TypeError when trying to register a non-class
  ........
................
2010-01-27 02:28:22 +00:00
Eric Smith ccea47ea86 Blocked revisions 77786 via svnmerge
................
  r77786 | eric.smith | 2010-01-26 21:14:26 -0500 (Tue, 26 Jan 2010) | 9 lines

  Merged revisions 77784 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line

    Added named (but not numbered) attributes to sys.getwindowsversion() test.
  ........
................
2010-01-27 02:14:55 +00:00
Benjamin Peterson 371c307e56 Merged revisions 77781-77782 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77781 | benjamin.peterson | 2010-01-26 19:47:14 -0600 (Tue, 26 Jan 2010) | 1 line

  don't accept bytes in FileIO.write #7785
........
  r77782 | benjamin.peterson | 2010-01-26 19:51:29 -0600 (Tue, 26 Jan 2010) | 1 line

  add issue number
........
2010-01-27 01:56:08 +00:00
Eric Smith 0a8f347fbc Blocked revisions 77779 via svnmerge
........
  r77779 | eric.smith | 2010-01-26 20:38:34 -0500 (Tue, 26 Jan 2010) | 1 line

  Fixed test_support -> support.
........
2010-01-27 01:39:10 +00:00
Eric Smith e5f26bd9f3 Blocked revisions 77777 via svnmerge
................
  r77777 | eric.smith | 2010-01-26 20:25:02 -0500 (Tue, 26 Jan 2010) | 9 lines

  Merged revisions 77775 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77775 | eric.smith | 2010-01-26 20:21:15 -0500 (Tue, 26 Jan 2010) | 1 line

    Switch to test_support.get_attribute.
  ........
................
2010-01-27 01:26:37 +00:00
Eric Smith 70950f623f Blocked revisions 77773 via svnmerge
................
  r77773 | eric.smith | 2010-01-26 19:59:59 -0500 (Tue, 26 Jan 2010) | 9 lines

  Merged revisions 77771 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line

    Removed unneeded test.
  ........
................
2010-01-27 01:00:29 +00:00
Eric Smith 1577f5b082 Blocked revisions 77769 via svnmerge
................
  r77769 | eric.smith | 2010-01-26 19:56:30 -0500 (Tue, 26 Jan 2010) | 9 lines

  Merged revisions 77767 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77767 | eric.smith | 2010-01-26 19:55:16 -0500 (Tue, 26 Jan 2010) | 1 line

    Fix type on getwindowsversion documentation. Thanks Taggnostr.
  ........
................
2010-01-27 00:56:56 +00:00
Eric Smith e4628791e3 Blocked revisions 77765 via svnmerge
................
  r77765 | eric.smith | 2010-01-26 19:44:57 -0500 (Tue, 26 Jan 2010) | 9 lines

  Merged revisions 77763 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77763 | eric.smith | 2010-01-26 19:28:29 -0500 (Tue, 26 Jan 2010) | 1 line

    Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type.
  ........
................
2010-01-27 00:45:36 +00:00
Ezio Melotti 2aef4b8110 Revert r77732 and add back verify and vereq in case other projects use them, but leave the changes in test_pprint and string_tests. 2010-01-25 12:20:04 +00:00
Ezio Melotti 4c81fbb118 Merged revisions 77745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77745 | ezio.melotti | 2010-01-25 13:58:28 +0200 (Mon, 25 Jan 2010) | 9 lines

  Merged revisions 77743 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line

    #7775: fixed docstring for rpartition
  ........
................
2010-01-25 12:02:24 +00:00
Benjamin Peterson 79e0b818c5 Merged revisions 77737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77737 | benjamin.peterson | 2010-01-24 21:37:42 -0600 (Sun, 24 Jan 2010) | 9 lines

  Merged revisions 77735 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line

    fix an UnboundLocalError when the release file is empty #7773
  ........
................
2010-01-25 03:40:53 +00:00
Ezio Melotti fcdf9f215e Merged revisions 77731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77731 | ezio.melotti | 2010-01-24 22:59:24 +0200 (Sun, 24 Jan 2010) | 9 lines

  Merged revisions 77729 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line

    remove archaic functions from test_support
  ........
................
2010-01-24 21:02:05 +00:00
Mark Dickinson 95a3633c96 Merged revisions 77722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77722 | mark.dickinson | 2010-01-24 10:16:29 +0000 (Sun, 24 Jan 2010) | 23 lines

  Merged revisions 77691,77698,77713-77714 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line

    Correct typo in comment.
  ........
    r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines

    Issue #7743:  Fix a potential incorrect rounding bug in dtoa.c (2nd bug
    in issue 7743).
  ........
    r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines

    Issue #7743:  Add checks for zero inputs to the lshift and mult functions;
    this fixes the first bug described in issue #7743.
  ........
    r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line

    dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.
  ........
................
2010-01-24 10:16:59 +00:00
Ezio Melotti 68338cd63f Merged revisions 77708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77708 | ezio.melotti | 2010-01-23 12:49:39 +0200 (Sat, 23 Jan 2010) | 9 lines

  Merged revisions 77706 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line

    Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds.
  ........
................
2010-01-23 10:54:37 +00:00
Ezio Melotti 27b11f730e Merged revisions 77700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77700 | ezio.melotti | 2010-01-22 19:36:17 +0200 (Fri, 22 Jan 2010) | 9 lines

  Merged revisions 77697 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line

    This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions.
  ........
................
2010-01-22 17:52:26 +00:00
Matthias Klose 865e33bb3d Merged revisions 77682 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77682 | matthias.klose | 2010-01-22 02:10:19 +0100 (Fr, 22 Jan 2010) | 10 lines

  Merged revisions 77680 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77680 | matthias.klose | 2010-01-22 01:39:04 +0100 (Fr, 22 Jan 2010) | 3 lines

    - Expat: Fix DoS via XML document with malformed UTF-8 sequences
      (CVE_2009_3560).
  ........
................
2010-01-22 01:13:15 +00:00
Ezio Melotti ea26c6c154 Merged revisions 77677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77677 | ezio.melotti | 2010-01-21 22:57:24 +0200 (Thu, 21 Jan 2010) | 9 lines

  Merged revisions 77675 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77675 | ezio.melotti | 2010-01-21 22:50:57 +0200 (Thu, 21 Jan 2010) | 1 line

    #7746: rephrase a sentence
  ........
................
2010-01-21 20:59:06 +00:00
Mark Dickinson e42ffae8c4 Merged revisions 77670 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77670 | mark.dickinson | 2010-01-21 19:51:08 +0000 (Thu, 21 Jan 2010) | 24 lines

  Merged revisions 77614-77616,77663 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77614 | mark.dickinson | 2010-01-20 17:36:31 +0000 (Wed, 20 Jan 2010) | 5 lines

    Various dtoa.c cleanups.  1. Despagghetify _Py_dg_strtod parsing code
    and exit points.  2. Simplify bigcomp comparison loop.  3. Don't set
    ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway).
    4. Remove unused dsign field from BCinfo struct.
  ........
    r77615 | mark.dickinson | 2010-01-20 18:02:41 +0000 (Wed, 20 Jan 2010) | 1 line

    Don't try to put a value into a NULL pointer.
  ........
    r77616 | mark.dickinson | 2010-01-20 21:23:25 +0000 (Wed, 20 Jan 2010) | 1 line

    Additional explanatory comments for _Py_dg_strtod.
  ........
    r77663 | mark.dickinson | 2010-01-21 17:02:53 +0000 (Thu, 21 Jan 2010) | 1 line

    Additional testcases for strtod.
  ........
................
2010-01-21 19:57:43 +00:00
Ezio Melotti b84420e9bb Merged revisions 77597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77597 | ezio.melotti | 2010-01-18 11:15:14 +0200 (Mon, 18 Jan 2010) | 9 lines

  Merged revisions 77595 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77595 | ezio.melotti | 2010-01-18 11:10:26 +0200 (Mon, 18 Jan 2010) | 1 line

    #7730: remove spaces after functions names
  ........
................
2010-01-18 09:16:17 +00:00
Mark Dickinson 173a1eedac Merged revisions 77590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77590 | mark.dickinson | 2010-01-17 21:02:55 +0000 (Sun, 17 Jan 2010) | 14 lines

  Merged revisions 77589 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77589 | mark.dickinson | 2010-01-17 20:57:56 +0000 (Sun, 17 Jan 2010) | 7 lines

    Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the
    private memory allocation scheme in dtoa.c, along with a piece of code
    that caches powers of 5 for future use.  This makes it easier to
    detect dtoa.c memory leaks with Valgrind or similar tools.

    Patch by Stefan Krah.
  ........
................
2010-01-17 21:06:28 +00:00
Ronald Oussoren 93492334df Ensure that distutils.tests.test_util will pass in 64-bit builds.
Fixes #7591
2010-01-17 18:52:29 +00:00
Antoine Pitrou 9a426c302f Merged revisions 77583 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77583 | antoine.pitrou | 2010-01-17 17:15:29 +0100 (dim., 17 janv. 2010) | 9 lines

  Merged revisions 77581 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines

    Use PyAPI_DATA.
  ........
................
2010-01-17 16:20:28 +00:00
Mark Dickinson a3ba4a15ec Merged revisions 77579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77579 | mark.dickinson | 2010-01-17 14:39:12 +0000 (Sun, 17 Jan 2010) | 9 lines

  Merged revisions 77578 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77578 | mark.dickinson | 2010-01-17 13:37:57 +0000 (Sun, 17 Jan 2010) | 2 lines

    Issue #7632: Fix a memory leak in _Py_dg_strtod.
  ........
................
2010-01-17 14:41:03 +00:00
Antoine Pitrou 20d6c15327 Merged revisions 77576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77576 | antoine.pitrou | 2010-01-17 13:38:54 +0100 (dim., 17 janv. 2010) | 12 lines

  Merged revisions 77573 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines

    Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)
    could crash in many places because of the PyByteArray_AS_STRING() macro
    returning NULL.  The macro now returns a statically allocated empty
    string instead.
  ........
................
2010-01-17 12:43:00 +00:00
Antoine Pitrou 1b64331f49 Merged revisions 77571 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77571 | antoine.pitrou | 2010-01-17 13:16:23 +0100 (dim., 17 janv. 2010) | 4 lines

  Issue #7561: Fix crashes when using bytearray objects with the posix
  module.
........
2010-01-17 12:19:45 +00:00
Mark Dickinson f3f5a1333b Merged revisions 77568 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77568 | mark.dickinson | 2010-01-17 11:13:30 +0000 (Sun, 17 Jan 2010) | 9 lines

  Merged revisions 77566 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77566 | mark.dickinson | 2010-01-17 11:10:03 +0000 (Sun, 17 Jan 2010) | 1 line

    Increase number of strtod tests slightly, to make it more likely that a memory leak is detected.
  ........
................
2010-01-17 11:14:48 +00:00
Matthias Klose 513aab529a - Move new NEWS entries from 3.1.1 to 3.1.2 2010-01-16 22:02:32 +00:00
Mark Dickinson 863d61d79b Merged revisions 77551 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77551 | mark.dickinson | 2010-01-16 20:34:30 +0000 (Sat, 16 Jan 2010) | 9 lines

  Merged revisions 77550 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77550 | mark.dickinson | 2010-01-16 20:33:02 +0000 (Sat, 16 Jan 2010) | 1 line

    Add better error reporting for MemoryErrors caused by str->float conversions.
  ........
................
2010-01-16 20:35:50 +00:00
R. David Murray fa606926d6 Merged revisions 77542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77542 | r.david.murray | 2010-01-16 13:30:03 -0500 (Sat, 16 Jan 2010) | 18 lines

  Merged revisions 77517,77525 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  Merge adds an additional test for as_string with a maxheaderlen specified.

  ........
    r77517 | r.david.murray | 2010-01-16 00:15:17 -0500 (Sat, 16 Jan 2010) | 6 lines

    Issue #1670765: Prevent email.generator.Generator from re-wrapping
    headers in multipart/signed MIME parts, which fixes one of the sources of
    invalid modifications to such parts by Generator.  Patch and tests by
    Martin von Gagern.
  ........
    r77525 | r.david.murray | 2010-01-16 11:08:32 -0500 (Sat, 16 Jan 2010) | 2 lines

    Fix issue number in comment.
  ........
................
2010-01-16 18:41:00 +00:00
Mark Dickinson 11f657843f Merged revisions 77535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77535 | mark.dickinson | 2010-01-16 18:10:25 +0000 (Sat, 16 Jan 2010) | 21 lines

  Merged revisions 77519,77530,77533 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines

    Issue #7632: Fix a serious wrong output bug for string -> float conversion.
    Also remove some now unused variables, and add comments clarifying the
    possible outputs of the parsing section of _Py_dg_strtod.  Thanks
    Eric Smith for reviewing.
  ........
    r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines

    Issue #7632: Fix one more case of incorrect rounding for str -> float
    conversion (see bug 5 in the issue tracker).
  ........
    r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line

    Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long.  See also r77421.
  ........
................
2010-01-16 18:12:46 +00:00
Antoine Pitrou 27f9eaa62f Blocked revisions 77468 via svnmerge
................
  r77468 | antoine.pitrou | 2010-01-13 13:04:20 +0100 (mer., 13 janv. 2010) | 18 lines

  Note: I'm merging these changes out of consistency, but they don't seem
  to be needed in py3k (except perhaps for non-utf8 paths).


  Merged revisions 77466-77467 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77466 | antoine.pitrou | 2010-01-13 12:47:49 +0100 (mer., 13 janv. 2010) | 5 lines

    Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
    Patch by Florent Xicluna.
  ........
    r77467 | antoine.pitrou | 2010-01-13 12:57:42 +0100 (mer., 13 janv. 2010) | 3 lines

    Use `with`
  ........
................
2010-01-16 18:08:04 +00:00
Ezio Melotti 5683a3d85d Merged revisions 77523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77523 | ezio.melotti | 2010-01-16 17:09:48 +0200 (Sat, 16 Jan 2010) | 1 line

  Fixed crasher. Patch by Florent Xicluna.
........
2010-01-16 15:11:38 +00:00
Ezio Melotti 9ce52610f4 Merged revisions 77520-77521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77520 | georg.brandl | 2010-01-16 16:41:21 +0200 (Sat, 16 Jan 2010) | 1 line

  Remove L suffix for integers.
........
  r77521 | ezio.melotti | 2010-01-16 16:46:27 +0200 (Sat, 16 Jan 2010) | 1 line

  remove obsolete sentence
........
2010-01-16 14:52:34 +00:00
Antoine Pitrou 46e4dd21c4 Merged revisions 77508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77508 | antoine.pitrou | 2010-01-15 01:27:43 +0100 (ven., 15 janv. 2010) | 10 lines

  Merged revisions 77506 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77506 | antoine.pitrou | 2010-01-15 01:18:00 +0100 (ven., 15 janv. 2010) | 4 lines

    Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a
    1-byte argument.  Patch by Victor Stinner.
  ........
................
2010-01-15 00:31:01 +00:00
Antoine Pitrou 0560e8a8f8 Merged revisions 77501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77501 | antoine.pitrou | 2010-01-14 18:34:48 +0100 (jeu., 14 janv. 2010) | 10 lines

  Merged revisions 77499 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77499 | antoine.pitrou | 2010-01-14 18:25:24 +0100 (jeu., 14 janv. 2010) | 4 lines

    Issue #3299: Fix possible crash in the _sre module when given bad
    argument values in debug mode.  Patch by Victor Stinner.
  ........
................
2010-01-14 17:37:24 +00:00
Mark Dickinson 9000c1614d Merged revisions 77494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77494 | mark.dickinson | 2010-01-14 15:37:49 +0000 (Thu, 14 Jan 2010) | 41 lines

  Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77477 | mark.dickinson | 2010-01-13 18:21:53 +0000 (Wed, 13 Jan 2010) | 1 line

    Add comments explaining the role of the bigcomp function in dtoa.c.
  ........
    r77478 | mark.dickinson | 2010-01-13 19:02:37 +0000 (Wed, 13 Jan 2010) | 1 line

    Clarify that sulp expects a nonnegative input, but that +0.0 is fine.
  ........
    r77481 | mark.dickinson | 2010-01-13 20:55:03 +0000 (Wed, 13 Jan 2010) | 1 line

    Simplify and annotate the bigcomp function, removing unused special cases.
  ........
    r77482 | mark.dickinson | 2010-01-13 22:15:53 +0000 (Wed, 13 Jan 2010) | 1 line

    Fix buggy comparison:  LHS of comparison was being treated as unsigned.
  ........
    r77483 | mark.dickinson | 2010-01-13 22:20:10 +0000 (Wed, 13 Jan 2010) | 1 line

    More dtoa.c cleanup;  remove the need for bc.dplen, bc.dp0 and bc.dp1.
  ........
    r77490 | mark.dickinson | 2010-01-14 13:02:36 +0000 (Thu, 14 Jan 2010) | 1 line

    Fix off-by-one error introduced in r77483.  I have a test for this, but it currently fails due to a different dtoa.c bug;  I'll add the test once that bug is fixed.
  ........
    r77491 | mark.dickinson | 2010-01-14 13:14:49 +0000 (Thu, 14 Jan 2010) | 1 line

    Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding.  Tests to follow.
  ........
    r77492 | mark.dickinson | 2010-01-14 14:40:20 +0000 (Thu, 14 Jan 2010) | 1 line

    Issue 7632:  fix incorrect rounding for long input strings with values very close to a power of 2.  (See Bug 4 in the tracker discussion.)
  ........
    r77493 | mark.dickinson | 2010-01-14 15:22:33 +0000 (Thu, 14 Jan 2010) | 1 line

    Issue #7632:  add tests for bugs fixed so far.
  ........
................
2010-01-14 15:43:57 +00:00
Brett Cannon d16b2a121e Merged revisions 77479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77479 | brett.cannon | 2010-01-13 11:21:00 -0800 (Wed, 13 Jan 2010) | 1 line

  Fix the wrong numbering of a PEP.
........
2010-01-13 19:25:46 +00:00