1. 03 May, 2008 8 commits
  2. 02 May, 2008 1 commit
  3. 01 May, 2008 3 commits
  4. 30 Apr, 2008 8 commits
    • Mark Dickinson's avatar
      Make floating-point exception error messages slightly more verbose: in · a0de26c3
      Mark Dickinson authored
      particular, the error message now allows one to distinguish between a
      ValueError arising from a singularity (e.g. log(0.)), which would
      usually produce +-infinity in non-stop mode, and a ValueError resulting
      from an invalid input (e.g. sqrt(-1.)), which would normally produce a
      NaN in non-stop mode.
      a0de26c3
    • Thomas Heller's avatar
    • Georg Brandl's avatar
      Merged revisions 62602 via svnmerge from · f392057e
      Georg Brandl authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62602 | georg.brandl | 2008-04-30 22:02:37 +0200 (Wed, 30 Apr 2008) | 2 lines
      
        #2727: clarify tp_iternext docs.
      ........
      f392057e
    • Georg Brandl's avatar
      Block backport of next(). · c71520eb
      Georg Brandl authored
      c71520eb
    • Georg Brandl's avatar
      Fix nits in builtin next(). · aaa6392a
      Georg Brandl authored
      aaa6392a
    • Thomas Heller's avatar
      Merged revisions... · b041fdaf
      Thomas Heller authored
      Merged revisions 60056-60071,60073-60127,60129-60261,60263-60284,60286-62589,62591-62594 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/branches/py3k-ctypes-pep3118
      
      ........
        r60059 | thomas.heller | 2008-01-18 22:17:05 +0100 (Fri, 18 Jan 2008) | 1 line
      
        Implement pep3118 format strings for SimpleCData types.
      ........
        r60108 | thomas.heller | 2008-01-19 22:56:12 +0100 (Sat, 19 Jan 2008) | 3 lines
      
        Always use explicit endian specifiers for simple types, and a bug fix
        too.  Add unittest.
      ........
        r60112 | thomas.heller | 2008-01-19 23:25:14 +0100 (Sat, 19 Jan 2008) | 2 lines
      
        Fully implement tp_asbuffer for pointer types.
      ........
        r60261 | thomas.heller | 2008-01-24 22:01:29 +0100 (Thu, 24 Jan 2008) | 4 lines
      
        Added shape and ndim field to StgDictObject.  Implemented pep3118
        format string, ndim, and shape for array types.  Added a
        buffer_info(type_or_object) for testing.
      ........
        r60278 | thomas.heller | 2008-01-25 11:53:33 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        Implement pep3118 format strings for ctypes.Structure and ctypes.Union.
      ........
        r60288 | thomas.heller | 2008-01-25 17:58:30 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        All ctypes types now use the same CData_GetBuffer function.
      ........
        r60289 | thomas.heller | 2008-01-25 19:59:45 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        Fix format string for structures, and itemsize for arrays.
      ........
        r60290 | thomas.heller | 2008-01-25 20:09:03 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        Implement to format string for function pointers.
      ........
        r60292 | thomas.heller | 2008-01-25 20:32:20 +0100 (Fri, 25 Jan 2008) | 3 lines
      
        Only structures with native packing implement the pep.  Unions, or
        packed structures do not.
      ........
        r60293 | thomas.heller | 2008-01-25 20:34:31 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        Update the test.
      ........
        r60295 | thomas.heller | 2008-01-25 20:44:41 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        Fixed a few XXX markers.
      ........
        r60298 | thomas.heller | 2008-01-25 21:11:08 +0100 (Fri, 25 Jan 2008) | 1 line
      
        Fix test for 64-bt platform.
      ........
        r60299 | thomas.heller | 2008-01-25 21:34:11 +0100 (Fri, 25 Jan 2008) | 2 lines
      
        Add test for the readonly bit.
      ........
        r60384 | thomas.heller | 2008-01-28 08:45:04 +0100 (Mon, 28 Jan 2008) | 4 lines
      
        Restructure the test so that it contains little endian format strings.
        On big endian machines, the format strings are converted by replacing
        '<' with '>'.
      ........
        r60385 | thomas.heller | 2008-01-28 08:58:46 +0100 (Mon, 28 Jan 2008) | 1 line
      
        Bugfix and test for explicit big and little endian types.
      ........
        r60428 | thomas.heller | 2008-01-29 22:00:37 +0100 (Tue, 29 Jan 2008) | 1 line
      
        Add comments to clarify the tests.
      ........
        r62589 | thomas.heller | 2008-04-30 13:49:46 +0200 (Wed, 30 Apr 2008) | 1 line
      
        Fix compiler warnings.
      ........
      b041fdaf
    • Mark Dickinson's avatar
      Add some temporary autoconf checks to try to figure out why test_math is · 6471f963
      Mark Dickinson authored
      failing on Debian/alpha.  (log(9.88e-324) gives an unexpected ValueError
      on that platform).  These checks will be removed again once the source
      of the problem is identified.
      
      I hope this is a reasonable way to approach the Debian/alpha buildbot
      failures; if there's a better way of debugging buildbot test failures
      then please let me know.
      6471f963
    • Eric Smith's avatar
      Merged revisions 62586 via svnmerge from · b2c7af82
      Eric Smith authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62586 | eric.smith | 2008-04-29 21:09:30 -0400 (Tue, 29 Apr 2008) | 5 lines
      
        Issue 2526, float.__format__ 'n' specifier does not support thousands grouping.
      
        Implemented grouping, with tests.
        Cleaned up PyOS_ascii_formatd by breaking reformatting into smaller functions.
      ........
      b2c7af82
  5. 29 Apr, 2008 2 commits
  6. 28 Apr, 2008 1 commit
  7. 27 Apr, 2008 2 commits
    • Benjamin Peterson's avatar
      Blocked revisions 62536 via svnmerge · a288faef
      Benjamin Peterson authored
      ........
        r62536 | benjamin.peterson | 2008-04-27 13:40:21 -0500 (Sun, 27 Apr 2008) | 2 lines
      
        A little reformating of Py3k warnings
      ........
      a288faef
    • Benjamin Peterson's avatar
      Blocked revisions 62517-62518 via svnmerge · d321d99b
      Benjamin Peterson authored
      ........
        r62517 | benjamin.peterson | 2008-04-26 21:28:02 -0500 (Sat, 26 Apr 2008) | 2 lines
      
        Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon.
      ........
        r62518 | benjamin.peterson | 2008-04-26 22:01:45 -0500 (Sat, 26 Apr 2008) | 2 lines
      
        Use PyErr_WarnPy3k throughout
      ........
      d321d99b
  8. 26 Apr, 2008 2 commits
  9. 25 Apr, 2008 3 commits
  10. 24 Apr, 2008 7 commits
  11. 22 Apr, 2008 1 commit
    • Trent Nelson's avatar
      Issue 2440: remove the guard around the handling of case 'n' in getargs.c's... · 3513358e
      Trent Nelson authored
      Issue 2440: remove the guard around the handling of case 'n' in getargs.c's convertsimple() such that we always treat it as an index type, regardless of whether or not sizeof(size_t) == sizeof(long).  Fix the test_args2.Signed_TestCase.test_n() such that it tests for adherence to PEP 357 (don't try and coerce objects that don't have nb_index slots but do have nb_int slots (i.e. floats) into indexes 'just because we can').  Three other commits are related to this one: r62269 and r62279, which were changes to PyNumber_Index (among other things) to check for nb_int slots when we lack nb_index slots -- and r62292, which is when I reverted these changes after various people pointed out that the test was in fact wrong, not the code.
      3513358e
  12. 21 Apr, 2008 2 commits
    • Mark Summerfield's avatar
    • Christian Heimes's avatar
      Merged revisions 62420-62421,62423-62424 via svnmerge from · e57950fb
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62420 | mark.dickinson | 2008-04-20 20:30:05 +0200 (Sun, 20 Apr 2008) | 3 lines
      
        Even more fixes for alpha Tru64, this time for
        the phase and polar methods.
      ........
        r62421 | mark.dickinson | 2008-04-20 22:38:48 +0200 (Sun, 20 Apr 2008) | 2 lines
      
        Add test for tanh(-0.) == -0. on IEEE 754 systems
      ........
        r62423 | amaury.forgeotdarc | 2008-04-20 23:02:21 +0200 (Sun, 20 Apr 2008) | 3 lines
      
        Correct an apparent refleak in test_pkgutil: zipimport._zip_directory_cache contains
        info for all processed zip files, even when they are no longer used.
      ........
        r62424 | mark.dickinson | 2008-04-20 23:39:04 +0200 (Sun, 20 Apr 2008) | 4 lines
      
        math.atan2 is misbehaving on Windows;  this patch
        should fix the problem in the same way that
        the cmath.phase problems were fixed.
      ........
      e57950fb