1. 29 Apr, 2008 1 commit
  2. 28 Apr, 2008 1 commit
  3. 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
  4. 26 Apr, 2008 2 commits
  5. 25 Apr, 2008 3 commits
  6. 24 Apr, 2008 7 commits
  7. 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
  8. 21 Apr, 2008 4 commits
  9. 20 Apr, 2008 1 commit
    • Christian Heimes's avatar
      Merged revisions... · a342c013
      Christian Heimes authored
      Merged revisions 62386-62387,62389-62393,62396,62400-62402,62407,62409-62410,62412-62414,62418-62419 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62386 | christian.heimes | 2008-04-19 04:23:57 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        Added kill, terminate and send_signal to subprocess.Popen
        The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill().
      ........
        r62387 | georg.brandl | 2008-04-19 10:23:59 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        Fix-up docs for revision 62386.
      ........
        r62389 | georg.brandl | 2008-04-19 18:57:43 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        #2369: clarify that copyfile() doesn't take a target directory.
      ........
        r62390 | georg.brandl | 2008-04-19 18:58:28 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        #2634: clarify meaning of env parameter to spawn/exec*e.
      ........
        r62391 | georg.brandl | 2008-04-19 18:58:49 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        #2633: clarify meaning of env parameter.
      ........
        r62392 | georg.brandl | 2008-04-19 18:59:16 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        #2631: clarify IMPORT_NAME semantics.
      ........
        r62393 | georg.brandl | 2008-04-19 19:00:14 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        :func: et al. should *not* include the parens.
      ........
        r62396 | mark.dickinson | 2008-04-19 20:51:48 +0200 (Sat, 19 Apr 2008) | 5 lines
      
        Additional tests for math.pow, and extra special-case
        handling code in math.pow, in the hope of making all
        tests pass on the alpha Tru64 buildbot.
      ........
        r62400 | mark.dickinson | 2008-04-19 21:41:52 +0200 (Sat, 19 Apr 2008) | 3 lines
      
        Additional special-case handling for math.pow.
        Windows/VS2008 doesn't like (-1)**(+-inf).
      ........
        r62401 | benjamin.peterson | 2008-04-19 21:47:34 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        Complete documentation for errors argument of io's open and TextIOWrapper
      ........
        r62402 | mark.dickinson | 2008-04-19 22:31:16 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        Document updates to math and cmath modules.
      ........
        r62407 | georg.brandl | 2008-04-19 23:28:38 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        Update template for newest Sphinx.
      ........
        r62409 | mark.dickinson | 2008-04-19 23:35:35 +0200 (Sat, 19 Apr 2008) | 5 lines
      
        Correct documentation for math.pow;
        0**nan is nan, not 0.  (But nan**0 and 1**nan are 1.)
      
        Also fix minor typo: 'quite NaN' -> 'quiet NaN'
      ........
        r62410 | mark.dickinson | 2008-04-19 23:49:22 +0200 (Sat, 19 Apr 2008) | 4 lines
      
        Move asinh documentation to the proper place.
        Remove meaningless 'in radians' from inverse
        hyperbolic functions.
      ........
        r62412 | mark.dickinson | 2008-04-20 03:22:30 +0200 (Sun, 20 Apr 2008) | 5 lines
      
        Report additional diagnostic information in
        test_math, to help track down debian-alpha
        buildbot failure.
      ........
        r62413 | mark.dickinson | 2008-04-20 03:39:24 +0200 (Sun, 20 Apr 2008) | 3 lines
      
        FreeBSD doesn't follow C99 for modf(inf); so add explicit
        special-value handling to math.modf code.
      ........
        r62414 | mark.dickinson | 2008-04-20 06:13:13 +0200 (Sun, 20 Apr 2008) | 5 lines
      
        Yet more explicit special case handling to make
        math.pow behave on alpha Tru64.  All IEEE 754
        special values are now handled directly; only
        the finite**finite case is handled by libm.
      ........
        r62418 | mark.dickinson | 2008-04-20 18:13:17 +0200 (Sun, 20 Apr 2008) | 7 lines
      
        Issue 2662: Initialize special value tables dynamically (i.e. when
        cmath module is loaded) instead of statically. This fixes compile-time
        problems on platforms where HUGE_VAL is an extern variable rather than
        a constant.
      
        Thanks Hirokazu Yamamoto for the patch.
      ........
        r62419 | andrew.kuchling | 2008-04-20 18:54:02 +0200 (Sun, 20 Apr 2008) | 1 line
      
        Move description of math module changes; various edits to description of cmath changes
      ........
      a342c013
  10. 19 Apr, 2008 6 commits
    • Georg Brandl's avatar
      Remove duplicated reduce() entry. · 58f9e4f3
      Georg Brandl authored
      58f9e4f3
    • Benjamin Peterson's avatar
      e8dd0708
    • Benjamin Peterson's avatar
      Blocked revisions 62398 via svnmerge · d198bbe4
      Benjamin Peterson authored
      ........
        r62398 | benjamin.peterson | 2008-04-19 14:34:05 -0500 (Sat, 19 Apr 2008) | 2 lines
      
        Copy io documentation back from py3k branch so changes can be merged into it.
      ........
      d198bbe4
    • Benjamin Peterson's avatar
      the io module was added in 2.6 (I know not really, but the end user isn't... · 70141642
      Benjamin Peterson authored
      the io module was added in 2.6 (I know not really, but the end user isn't going to care about backporting.)
      70141642
    • Christian Heimes's avatar
      Merged revisions... · dae2a893
      Christian Heimes authored
      Merged revisions 62350-62355,62358-62359,62364-62365,62370,62372-62375,62378-62379,62381 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62350 | nick.coghlan | 2008-04-15 12:25:31 +0200 (Tue, 15 Apr 2008) | 1 line
      
        Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore)
      ........
        r62351 | nick.coghlan | 2008-04-15 12:28:14 +0200 (Tue, 15 Apr 2008) | 1 line
      
        Add test file missing from rev 62350
      ........
        r62352 | benjamin.peterson | 2008-04-15 13:58:46 +0200 (Tue, 15 Apr 2008) | 2 lines
      
        Add myself to Doc/ACKS.txt
      ........
        r62353 | andrew.kuchling | 2008-04-15 15:10:07 +0200 (Tue, 15 Apr 2008) | 6 lines
      
        Add *,**,@ to index, as suggested by
        http://farmdev.com/thoughts/24/what-does-the-def-star-variable-or-def-asterisk-parameter-syntax-do-in-python-/
      
        The right entry type to use isn't clear; operator seems wrong, because *,**,@
        aren't being used in expressions here.  I put them as 'statement'; 'syntax'
        might be better.
      ........
        r62354 | andrew.kuchling | 2008-04-15 15:10:41 +0200 (Tue, 15 Apr 2008) | 1 line
      
        Typo fix
      ........
        r62355 | mark.dickinson | 2008-04-15 22:51:18 +0200 (Tue, 15 Apr 2008) | 3 lines
      
        Fix for possible signed overflow:  the behaviour of -LONG_MIN is
        undefined in ANSI C.
      ........
        r62358 | jeroen.ruigrok | 2008-04-16 14:47:01 +0200 (Wed, 16 Apr 2008) | 2 lines
      
        Reformat to 80 columns prior to adding documentation.
      ........
        r62359 | jeroen.ruigrok | 2008-04-16 14:57:43 +0200 (Wed, 16 Apr 2008) | 2 lines
      
        Add details about the return value for mmap.flush().
      ........
        r62364 | raymond.hettinger | 2008-04-17 12:48:31 +0200 (Thu, 17 Apr 2008) | 1 line
      
        Issue 2648: Add leading zero to money format recipe in the docs.
      ........
        r62365 | jeroen.ruigrok | 2008-04-17 14:39:45 +0200 (Thu, 17 Apr 2008) | 2 lines
      
        Be consistent in the use of read-only.
      ........
        r62370 | andrew.kuchling | 2008-04-17 22:44:06 +0200 (Thu, 17 Apr 2008) | 1 line
      
        Typo fixes
      ........
        r62372 | andrew.kuchling | 2008-04-18 04:40:47 +0200 (Fri, 18 Apr 2008) | 1 line
      
        Use correct parameter name
      ........
        r62373 | andrew.kuchling | 2008-04-18 18:53:09 +0200 (Fri, 18 Apr 2008) | 1 line
      
        #2654: fix typo
      ........
        r62374 | andrew.kuchling | 2008-04-18 20:28:23 +0200 (Fri, 18 Apr 2008) | 4 lines
      
        Remove personal note from Jim Roskind; it no longer applies, and the
        e-mail address is for a previous employer.
      
        Can we move the big long copyright statement into a sidebar or something?
      ........
        r62375 | andrew.kuchling | 2008-04-18 20:39:55 +0200 (Fri, 18 Apr 2008) | 1 line
      
        Rewrite introductory section, and remove old section.  (It was already commented-out, but why keep it?)
      ........
        r62378 | skip.montanaro | 2008-04-18 22:35:46 +0200 (Fri, 18 Apr 2008) | 1 line
      
        resolve issue 2014
      ........
        r62379 | benjamin.peterson | 2008-04-18 22:45:33 +0200 (Fri, 18 Apr 2008) | 2 lines
      
        Fix indentation in sysmodule.c
      ........
        r62381 | amaury.forgeotdarc | 2008-04-19 01:31:33 +0200 (Sat, 19 Apr 2008) | 3 lines
      
        Some tests did not pass on repeated calls (regrtest -R::)
        Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
      ........
      dae2a893
    • Christian Heimes's avatar
      Merged revisions 62380,62382-62383 via svnmerge from · 53876d9c
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62380 | christian.heimes | 2008-04-19 01:13:07 +0200 (Sat, 19 Apr 2008) | 3 lines
      
        I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.
      
        The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
      ........
        r62382 | christian.heimes | 2008-04-19 01:40:40 +0200 (Sat, 19 Apr 2008) | 2 lines
      
        Added new files to Windows project files
        More Windows related fixes are coming soon
      ........
        r62383 | christian.heimes | 2008-04-19 01:49:11 +0200 (Sat, 19 Apr 2008) | 1 line
      
        Stupid me. Py_RETURN_NAN should actually return something ...
      ........
      53876d9c
  11. 17 Apr, 2008 1 commit
  12. 15 Apr, 2008 2 commits
    • Mark Dickinson's avatar
      PyLong_FromSsize_t was incorrect when sizeof(size_t) > sizeof(long); · 7ab6be21
      Mark Dickinson authored
      rewrite it so that it doesn't care about relative sizes of size_t,
      long and long long.
      
      The rewrite is modeled on PyLong_FromLong, instead of using
      PyLong_FromByteArray;  this makes the algorithm simpler and
      more direct, and possibly also slightly faster.
      7ab6be21
    • Neal Norwitz's avatar
      Merged revisions... · 32dde221
      Neal Norwitz authored
      Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62128,62130,62132,62134-62135,62137,62139-62140,62144,62146,62151,62155,62157,62162-62166,62171-62172,62175-62176,62178,62181-62186,62188-62192,62196,62200-62203,62206,62211-62213,62215-62218,62222,62224-62226,62228,62232,62236,62240-62245,62248,62250-62254,62256-62258,62262,62264-62265,62267-62270,62272-62276,62280-62288,62291-62292,62299-62301,62307,62312,62316-62318,62322-62331,62333-62337,62339-62344,62346-62348 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62323 | brett.cannon | 2008-04-13 10:09:43 -0700 (Sun, 13 Apr 2008) | 3 lines
      
        Add an explicit check for output in a test to try to diagnose a failure on
        Windows.
      ........
        r62324 | brett.cannon | 2008-04-13 10:41:31 -0700 (Sun, 13 Apr 2008) | 3 lines
      
        Fix spliting on colons on Windows machines with a file path by limiting the
        number of splits.
      ........
        r62329 | benjamin.peterson | 2008-04-13 13:35:56 -0700 (Sun, 13 Apr 2008) | 2 lines
      
        #2627 Let it be known what pgen generates
      ........
        r62330 | benjamin.peterson | 2008-04-13 13:40:03 -0700 (Sun, 13 Apr 2008) | 2 lines
      
        Added an ignore file for Bazaar #2510
      ........
        r62331 | georg.brandl | 2008-04-13 13:50:29 -0700 (Sun, 13 Apr 2008) | 2 lines
      
        Improve -X error message.
      ........
        r62334 | andrew.kuchling | 2008-04-13 15:39:12 -0700 (Sun, 13 Apr 2008) | 1 line
      
        Add example
      ........
        r62340 | amaury.forgeotdarc | 2008-04-14 12:55:40 -0700 (Mon, 14 Apr 2008) | 2 lines
      
        Update project files for all Windows supported compilers
      ........
        r62341 | amaury.forgeotdarc | 2008-04-14 13:07:48 -0700 (Mon, 14 Apr 2008) | 6 lines
      
        Correct a refleak found by "regrtest.py -R:: test_structmembers"
      
        Some other minor updates in _warnings.c:
        - make a function static
        - rename a shadowing local variable
      ........
        r62347 | andrew.kuchling | 2008-04-14 19:24:15 -0700 (Mon, 14 Apr 2008) | 1 line
      
        Various items; begin writing the SSL section
      ........
        r62348 | neal.norwitz | 2008-04-14 20:46:21 -0700 (Mon, 14 Apr 2008) | 1 line
      
        Prevent namespace pollution, add static for internal functions
      ........
      32dde221
  13. 14 Apr, 2008 6 commits
  14. 13 Apr, 2008 3 commits