]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
17 years agoBlocked revisions 71701 via svnmerge
Mark Dickinson [Sat, 18 Apr 2009 11:50:41 +0000 (11:50 +0000)] 
Blocked revisions 71701 via svnmerge

........
  r71701 | mark.dickinson | 2009-04-18 12:48:33 +0100 (Sat, 18 Apr 2009) | 7 lines

  Issue #1869 (and 4707, 5118, 5473, 1456775):  use the new
  string <-> float conversion routines to make round(x, n) correctly
  rounded for floats x, so that it always agrees with format(x, '.<n>f').

  Also fix some other round nuisances, like round(123.456, 1-2**31) giving
  an integer rather than a float.
........

17 years agoBlocked revisions 71698 via svnmerge
Mark Dickinson [Sat, 18 Apr 2009 10:18:06 +0000 (10:18 +0000)] 
Blocked revisions 71698 via svnmerge

........
  r71698 | mark.dickinson | 2009-04-18 11:16:35 +0100 (Sat, 18 Apr 2009) | 3 lines

  Issue #5781: Only use legacy string<->double conversions when
  we can't figure out how to get and set the x87 control word.
........

17 years agoBlocked revisions 71697 via svnmerge
Mark Dickinson [Sat, 18 Apr 2009 10:17:33 +0000 (10:17 +0000)] 
Blocked revisions 71697 via svnmerge

........
  r71697 | mark.dickinson | 2009-04-18 11:12:16 +0100 (Sat, 18 Apr 2009) | 3 lines

  The comments at the top of intobject.h say that it will be removed in 3.1.
  Make it so.
........

17 years agoMerged revisions 71693 via svnmerge from
Eric Smith [Sat, 18 Apr 2009 00:25:01 +0000 (00:25 +0000)] 
Merged revisions 71693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r71693 | eric.smith | 2009-04-17 20:10:04 -0400 (Fri, 17 Apr 2009) | 1 line

  Removed unused files.
........

17 years agoBlocked revisions 71684 via svnmerge
Mark Dickinson [Fri, 17 Apr 2009 16:07:04 +0000 (16:07 +0000)] 
Blocked revisions 71684 via svnmerge

........
  r71684 | mark.dickinson | 2009-04-17 17:06:28 +0100 (Fri, 17 Apr 2009) | 3 lines

  Add reminder to dtoa.c to check for updates regularly.
  Fix a bug in the memory management in dtoa.c.
........

17 years agoBlocked revisions 71670 via svnmerge
Mark Dickinson [Fri, 17 Apr 2009 16:03:52 +0000 (16:03 +0000)] 
Blocked revisions 71670 via svnmerge

........
  r71670 | mark.dickinson | 2009-04-17 09:41:23 +0100 (Fri, 17 Apr 2009) | 3 lines

  Make sure that marshal and pickle continue to output 17
  digits of precision for floats.
........

17 years agoBlocked revisions 71677 via svnmerge
Tarek Ziadé [Fri, 17 Apr 2009 14:38:23 +0000 (14:38 +0000)] 
Blocked revisions 71677 via svnmerge

................
  r71677 | tarek.ziade | 2009-04-17 16:34:49 +0200 (Fri, 17 Apr 2009) | 9 lines

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

  ........
    r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line

    DistutilsSetupError was not raised when one single warning occured
  ........
................

17 years agoBlocked revisions 71590 via svnmerge
Tarek Ziadé [Fri, 17 Apr 2009 14:36:14 +0000 (14:36 +0000)] 
Blocked revisions 71590 via svnmerge

................
  r71590 | tarek.ziade | 2009-04-13 22:19:58 +0200 (Mon, 13 Apr 2009) | 9 lines

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

  ........
    r71589 | tarek.ziade | 2009-04-13 22:14:54 +0200 (Mon, 13 Apr 2009) | 1 line

    pep8-fied
  ........
................

17 years agoBlocked revisions 71665 via svnmerge
Eric Smith [Thu, 16 Apr 2009 20:16:49 +0000 (20:16 +0000)] 
Blocked revisions 71665 via svnmerge

........
  r71665 | eric.smith | 2009-04-16 16:16:10 -0400 (Thu, 16 Apr 2009) | 14 lines

  The other half of Issue #1580: use short float repr where possible.

  Addresses the float -> string conversion, using David Gay's code which
  was added in Mark Dickinson's checkin r71663.

  Also addresses these, which are intertwined with the short repr
  changes:

  - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100'
  - Issue #5515: 'n' formatting with commas no longer works poorly
      with leading zeros.
  - PEP 378 Format Specifier for Thousands Separator: implemented
      for floats.
........

17 years agoBlocked revisions 71663 via svnmerge
Mark Dickinson [Thu, 16 Apr 2009 20:06:09 +0000 (20:06 +0000)] 
Blocked revisions 71663 via svnmerge

........
  r71663 | mark.dickinson | 2009-04-16 20:52:09 +0100 (Thu, 16 Apr 2009) | 15 lines

  Issue #1580: use short float repr where possible.
   - incorporate and adapt David Gay's dtoa and strtod
     into the Python core
   - on platforms where we can use Gay's code (almost
     all!), repr(float) is based on the shortest
     sequence of decimal digits that rounds correctly.
   - add sys.float_repr_style attribute to indicate
     whether we're using Gay's code or not
   - add autoconf magic to detect and enable SSE2
     instructions on x86/gcc
   - slight change to repr and str:  repr switches
     to exponential notation at 1e16 instead of
     1e17, str switches at 1e11 instead of 1e12
........

17 years agoMerged revisions 71656 via svnmerge from
Thomas Heller [Thu, 16 Apr 2009 19:12:35 +0000 (19:12 +0000)] 
Merged revisions 71656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71656 | thomas.heller | 2009-04-16 20:37:24 +0200 (Do, 16 Apr 2009) | 14 lines

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

  ........
    r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line

    Remove unneeded code.
  ........
    r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines

    Remove duplicated function declaration.
    Make _pagesize static.
  ........
................

17 years agoMerged revisions 71652 via svnmerge from
R. David Murray [Thu, 16 Apr 2009 18:17:08 +0000 (18:17 +0000)] 
Merged revisions 71652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71652 | r.david.murray | 2009-04-16 14:15:32 -0400 (Thu, 16 Apr 2009) | 9 lines

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

  ........
    r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines

    Less red ink (warning->note) and add link to def of side-by-side assembly.
  ........
................

17 years agoMerged revisions 71633 via svnmerge from
R. David Murray [Wed, 15 Apr 2009 22:38:32 +0000 (22:38 +0000)] 
Merged revisions 71633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71633 | r.david.murray | 2009-04-15 18:35:15 -0400 (Wed, 15 Apr 2009) | 11 lines

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

  ........
    r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines

    Fix for issue3440: add warning to subprocess discussion of
    env parameter that on Windows SystemRoot is required in order
    to run side-by-side assemblies.
  ........
................

17 years agoMerged revisions 71628 via svnmerge from
Benjamin Peterson [Wed, 15 Apr 2009 21:40:50 +0000 (21:40 +0000)] 
Merged revisions 71628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71628 | benjamin.peterson | 2009-04-15 16:34:27 -0500 (Wed, 15 Apr 2009) | 11 lines

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

  ........
    r71627 | benjamin.peterson | 2009-04-15 16:26:36 -0500 (Wed, 15 Apr 2009) | 4 lines

    call __float__ on str subclasses #5759

    tests by R. David Murray
  ........
................

17 years agoBackport from the 2.6 branch:
Matthias Klose [Tue, 14 Apr 2009 08:00:41 +0000 (08:00 +0000)] 
Backport from the 2.6 branch:

r71499 | georg.brandl | 2009-04-11 22:34:17 +0200 (Sa, 11. Apr 2009) | 1 line

Add a monkeypatching hack so that the docs can still be built with Sphinx 0.5.

17 years agoBlocked revisions 71571 via svnmerge
Tarek Ziadé [Mon, 13 Apr 2009 20:08:14 +0000 (20:08 +0000)] 
Blocked revisions 71571 via svnmerge

................
  r71571 | tarek.ziade | 2009-04-13 14:59:03 +0200 (Mon, 13 Apr 2009) | 9 lines

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

  ........
    r71569 | tarek.ziade | 2009-04-13 14:42:26 +0200 (Mon, 13 Apr 2009) | 1 line

    deactivate test_search_cpp under win32
  ........
................

17 years agoRecorded merge of revisions 71580-71581 via svnmerge from
R. David Murray [Mon, 13 Apr 2009 17:12:43 +0000 (17:12 +0000)] 
Recorded merge of revisions 71580-71581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71580 | r.david.murray | 2009-04-13 13:00:25 -0400 (Mon, 13 Apr 2009) | 9 lines

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

  ........
    r71579 | r.david.murray | 2009-04-13 12:56:32 -0400 (Mon, 13 Apr 2009) | 2 lines

    Add missing NEWS item for issue1161031 fix.
  ........
................
  r71581 | r.david.murray | 2009-04-13 13:06:33 -0400 (Mon, 13 Apr 2009) | 2 lines

  Move NEWS item to correct section.
................

17 years agoNEWS item for fix for Issue #1161031.
R. David Murray [Mon, 13 Apr 2009 17:08:50 +0000 (17:08 +0000)] 
NEWS item for fix for Issue #1161031.

17 years agoBlocked revisions 71565 via svnmerge
Tarek Ziadé [Mon, 13 Apr 2009 12:39:11 +0000 (12:39 +0000)] 
Blocked revisions 71565 via svnmerge

................
  r71565 | tarek.ziade | 2009-04-13 14:37:57 +0200 (Mon, 13 Apr 2009) | 9 lines

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

  ........
    r71560 | tarek.ziade | 2009-04-13 14:34:01 +0200 (Mon, 13 Apr 2009) | 1 line

    Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.
  ........
................

17 years agoMerged revisions 71556 via svnmerge from
R. David Murray [Mon, 13 Apr 2009 01:27:49 +0000 (01:27 +0000)] 
Merged revisions 71556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71556 | r.david.murray | 2009-04-12 21:22:04 -0400 (Sun, 12 Apr 2009) | 10 lines

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

  ........
    r71553 | r.david.murray | 2009-04-12 21:06:46 -0400 (Sun, 12 Apr 2009) | 3 lines

    Adjust test_asyncore to account for intentional asyncore behavior change
    introduced by r70934 that was causing a test failure when run under -O.
  ........
................

17 years agoMerged revisions 71550 via svnmerge from
Eric Smith [Mon, 13 Apr 2009 00:58:35 +0000 (00:58 +0000)] 
Merged revisions 71550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71550 | eric.smith | 2009-04-12 20:50:23 -0400 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71548 | eric.smith | 2009-04-12 20:29:50 -0400 (Sun, 12 Apr 2009) | 1 line

    Fixed incorrect object passed into format_float_internal(). This was resulting in a conversion being done twice.
  ........
................

17 years agoBlocked revisions 71535 via svnmerge
Tarek Ziadé [Sun, 12 Apr 2009 17:05:27 +0000 (17:05 +0000)] 
Blocked revisions 71535 via svnmerge

................
  r71535 | tarek.ziade | 2009-04-12 19:04:39 +0200 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71533 | tarek.ziade | 2009-04-12 19:02:08 +0200 (Sun, 12 Apr 2009) | 1 line

    removed string usage and added a test for _clean
  ........
................

17 years agoBlocked revisions 71530 via svnmerge
Tarek Ziadé [Sun, 12 Apr 2009 16:50:37 +0000 (16:50 +0000)] 
Blocked revisions 71530 via svnmerge

................
  r71530 | tarek.ziade | 2009-04-12 18:49:20 +0200 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71528 | tarek.ziade | 2009-04-12 18:45:32 +0200 (Sun, 12 Apr 2009) | 1 line

    added a test for finalize_options
  ........
................

17 years agoBlocked revisions 71525 via svnmerge
Tarek Ziadé [Sun, 12 Apr 2009 16:50:03 +0000 (16:50 +0000)] 
Blocked revisions 71525 via svnmerge

................
  r71525 | tarek.ziade | 2009-04-12 18:34:34 +0200 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71523 | tarek.ziade | 2009-04-12 18:31:24 +0200 (Sun, 12 Apr 2009) | 1 line

    added a simple test for search_cpp
  ........
................

17 years agoMerged revisions 71520 via svnmerge from
R. David Murray [Sun, 12 Apr 2009 16:16:21 +0000 (16:16 +0000)] 
Merged revisions 71520 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71520 | r.david.murray | 2009-04-12 11:35:44 -0400 (Sun, 12 Apr 2009) | 24 lines

  Merged revisions 70873,70904,70934,71490 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines

    This resolves issue 1161031.  Tests pass.
  ........
    r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines

    Made handle_expt_event() be called last, so that we don't accidentally read
    after closing the socket.
  ........
    r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines

    Fix for failing asyncore tests.
  ........
    r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines

    Make test_asyncore tests match code changes introduced by the
    fix to Issue1161031, refactoring the test to simplify it in
    the process.
  ........
................

17 years agoBlocked revisions 71515 via svnmerge
Tarek Ziadé [Sun, 12 Apr 2009 15:08:24 +0000 (15:08 +0000)] 
Blocked revisions 71515 via svnmerge

................
  r71515 | tarek.ziade | 2009-04-12 17:07:31 +0200 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71513 | tarek.ziade | 2009-04-12 17:03:50 +0200 (Sun, 12 Apr 2009) | 1 line

    pep8-fied the module before adding tests
  ........
................

17 years agoBlocked revisions 71511 via svnmerge
Tarek Ziadé [Sun, 12 Apr 2009 14:58:39 +0000 (14:58 +0000)] 
Blocked revisions 71511 via svnmerge

................
  r71511 | tarek.ziade | 2009-04-12 16:57:46 +0200 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71509 | tarek.ziade | 2009-04-12 16:53:51 +0200 (Sun, 12 Apr 2009) | 1 line

    removed the print statements and added a test
  ........
................

17 years agoBlocked revisions 71480 via svnmerge
Tarek Ziadé [Sat, 11 Apr 2009 15:18:16 +0000 (15:18 +0000)] 
Blocked revisions 71480 via svnmerge

................
  r71480 | tarek.ziade | 2009-04-11 17:17:04 +0200 (Sat, 11 Apr 2009) | 9 lines

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

  ........
    r71478 | tarek.ziade | 2009-04-11 17:14:17 +0200 (Sat, 11 Apr 2009) | 1 line

    testing a full check case
  ........
................

17 years agoBlocked revisions 71475 via svnmerge
Tarek Ziadé [Sat, 11 Apr 2009 15:03:47 +0000 (15:03 +0000)] 
Blocked revisions 71475 via svnmerge

................
  r71475 | tarek.ziade | 2009-04-11 17:00:43 +0200 (Sat, 11 Apr 2009) | 9 lines

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

  ........
    r71473 | tarek.ziade | 2009-04-11 16:55:07 +0200 (Sat, 11 Apr 2009) | 1 line

    #5732: added the check command into Distutils
  ........
................

17 years agoMerged revisions 71471 via svnmerge from
Tarek Ziadé [Sat, 11 Apr 2009 15:03:18 +0000 (15:03 +0000)] 
Merged revisions 71471 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71471 | tarek.ziade | 2009-04-11 16:32:37 +0200 (Sat, 11 Apr 2009) | 9 lines

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

  ........
    r71467 | tarek.ziade | 2009-04-11 15:59:05 +0200 (Sat, 11 Apr 2009) | 1 line

    fixed link
  ........
................

17 years agoBlocked revisions 71469 via svnmerge
Nick Coghlan [Sat, 11 Apr 2009 14:33:04 +0000 (14:33 +0000)] 
Blocked revisions 71469 via svnmerge

................
  r71469 | nick.coghlan | 2009-04-12 00:30:59 +1000 (Sun, 12 Apr 2009) | 9 lines

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

  ........
    r71465 | nick.coghlan | 2009-04-11 23:31:31 +1000 (Sat, 11 Apr 2009) | 1 line

    Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
  ........
................

17 years agoBlocked revisions 71457 via svnmerge
Guilherme Polo [Fri, 10 Apr 2009 22:20:27 +0000 (22:20 +0000)] 
Blocked revisions 71457 via svnmerge

................
  r71457 | guilherme.polo | 2009-04-10 19:19:09 -0300 (Fri, 10 Apr 2009) | 9 lines

  Merged revisions 71210 via svnmerge from
  svn+ssh://pythondev/python/trunk

  ........
    r71210 | guilherme.polo | 2009-04-04 23:11:19 -0300 (Sat, 04 Apr 2009) | 1 line

    Include tkinter.h only after including tk.h (or the equivalent for another platform).
  ........
................

17 years agoFix alignment
Raymond Hettinger [Fri, 10 Apr 2009 19:44:58 +0000 (19:44 +0000)] 
Fix alignment

17 years agoSync-up make.bat with Makefile.
Raymond Hettinger [Fri, 10 Apr 2009 19:13:23 +0000 (19:13 +0000)] 
Sync-up make.bat with Makefile.

17 years agoAdd examples.
Raymond Hettinger [Fri, 10 Apr 2009 19:08:06 +0000 (19:08 +0000)] 
Add examples.

17 years agoMerged revisions 71436-71437 via svnmerge from
Georg Brandl [Fri, 10 Apr 2009 07:07:22 +0000 (07:07 +0000)] 
Merged revisions 71436-71437 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r71436 | georg.brandl | 2009-04-10 09:01:52 +0200 (Fr, 10 Apr 2009) | 9 lines

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

  ........
    r71409 | georg.brandl | 2009-04-09 21:01:04 +0200 (Do, 09 Apr 2009) | 1 line

    Add a custom stylesheet with better table formatting.
  ........
................
  r71437 | georg.brandl | 2009-04-10 09:02:56 +0200 (Fr, 10 Apr 2009) | 21 lines

  Merged revisions 71424-71425,71428-71429 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r71424 | raymond.hettinger | 2009-04-10 01:25:30 +0200 (Fr, 10 Apr 2009) | 1 line

    More table formatting.
  ........
    r71425 | raymond.hettinger | 2009-04-10 01:34:14 +0200 (Fr, 10 Apr 2009) | 1 line

    Center table headings.
  ........
    r71428 | raymond.hettinger | 2009-04-10 02:49:41 +0200 (Fr, 10 Apr 2009) | 1 line

    More table clean-up
  ........
    r71429 | raymond.hettinger | 2009-04-10 04:01:21 +0200 (Fr, 10 Apr 2009) | 1 line

    IE needs the border-left:0 for some reason.
  ........
................

17 years agoClarify the table entries for combinatorics.
Raymond Hettinger [Fri, 10 Apr 2009 04:30:08 +0000 (04:30 +0000)] 
Clarify the table entries for combinatorics.

17 years agoMerged revisions 71415 via svnmerge from
Tarek Ziadé [Thu, 9 Apr 2009 22:51:41 +0000 (22:51 +0000)] 
Merged revisions 71415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71415 | tarek.ziade | 2009-04-10 00:02:39 +0200 (Fri, 10 Apr 2009) | 9 lines

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

  ........
    r71413 | tarek.ziade | 2009-04-09 23:36:44 +0200 (Thu, 09 Apr 2009) | 1 line

    Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms
  ........
................

17 years agoBlocked revisions 71416 via svnmerge
R. David Murray [Thu, 9 Apr 2009 22:18:30 +0000 (22:18 +0000)] 
Blocked revisions 71416 via svnmerge

................
  r71416 | r.david.murray | 2009-04-09 18:16:43 -0400 (Thu, 09 Apr 2009) | 10 lines

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

  ........
    r71414 | r.david.murray | 2009-04-09 17:54:50 -0400 (Thu, 09 Apr 2009) | 3 lines

    Issue #2170: refactored xml.dom.minidom.normalize, increasing both
    its clarity and its speed.
  ........
................

17 years agoMerged revisions 71374 via svnmerge from
Benjamin Peterson [Tue, 7 Apr 2009 19:42:10 +0000 (19:42 +0000)] 
Merged revisions 71374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71374 | benjamin.peterson | 2009-04-07 14:34:08 -0500 (Tue, 07 Apr 2009) | 9 lines

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

  ........
    r71335 | benjamin.peterson | 2009-04-06 17:53:29 -0500 (Mon, 06 Apr 2009) | 1 line

    see if this helps the doc builds
  ........
................

17 years agoMerged revisions 71368 via svnmerge from
Matthias Klose [Tue, 7 Apr 2009 16:11:56 +0000 (16:11 +0000)] 
Merged revisions 71368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r71368 | matthias.klose | 2009-04-07 18:08:29 +0200 (Di, 07 Apr 2009) | 4 lines

  Don't check for broken Berkley-DB versions on some platforms; the
  test was required for the _bsddb3 extension, not necessary for the
  _dbm extension.
........

17 years agoMerged revisions 71357 via svnmerge from
Matthias Klose [Tue, 7 Apr 2009 14:50:24 +0000 (14:50 +0000)] 
Merged revisions 71357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r71357 | matthias.klose | 2009-04-07 15:49:45 +0200 (Di, 07 Apr 2009) | 3 lines

  - Issue #5359: Readd the Berkley-DB detection code to allow _dbm be built
    using Berkley-DB.
........

17 years agoMerged revisions 71355 via svnmerge from
Matthias Klose [Tue, 7 Apr 2009 14:48:10 +0000 (14:48 +0000)] 
Merged revisions 71355 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71355 | matthias.klose | 2009-04-07 15:13:10 +0200 (Di, 07 Apr 2009) | 10 lines

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

  ........
    r71268 | matthias.klose | 2009-04-05 23:00:48 +0200 (So, 05 Apr 2009) | 3 lines

    - Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
      new arguments introduced in 2.5.
  ........
................

17 years agoMerged revisions 70987 via svnmerge from
Hirokazu Yamamoto [Mon, 6 Apr 2009 21:21:20 +0000 (21:21 +0000)] 
Merged revisions 70987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70987 | jesse.noller | 2009-04-02 05:51:28 +0900 | 9 lines

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

  ........
    r70953 | hirokazu.yamamoto | 2009-04-01 10:13:52 -0500 (Wed, 01 Apr 2009) | 1 line

    Fixed compile error on windows.
  ........
................

17 years agoMisc/NEWS: Move all news items checked in after the 3.0.1 release
Matthias Klose [Mon, 6 Apr 2009 20:59:24 +0000 (20:59 +0000)] 
Misc/NEWS: Move all news items checked in after the 3.0.1 release
to the 3.0.2 section.

17 years agoBlocked revisions 71297 via svnmerge
Tarek Ziadé [Sun, 5 Apr 2009 23:06:21 +0000 (23:06 +0000)] 
Blocked revisions 71297 via svnmerge

................
  r71297 | tarek.ziade | 2009-04-06 01:05:31 +0200 (Mon, 06 Apr 2009) | 9 lines

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

  ........
    r71295 | tarek.ziade | 2009-04-06 01:03:10 +0200 (Mon, 06 Apr 2009) | 1 line

    pep8-fied method names
  ........
................

17 years agoBlocked revisions 71293 via svnmerge
Tarek Ziadé [Sun, 5 Apr 2009 22:58:18 +0000 (22:58 +0000)] 
Blocked revisions 71293 via svnmerge

................
  r71293 | tarek.ziade | 2009-04-06 00:57:21 +0200 (Mon, 06 Apr 2009) | 9 lines

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

  ........
    r71291 | tarek.ziade | 2009-04-06 00:51:09 +0200 (Mon, 06 Apr 2009) | 1 line

    Fixed #5095: msi missing from Distutils bdist formats
  ........
................

17 years agoMerged revisions 71284 via svnmerge from
Tarek Ziadé [Sun, 5 Apr 2009 21:52:04 +0000 (21:52 +0000)] 
Merged revisions 71284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71284 | tarek.ziade | 2009-04-05 23:49:36 +0200 (Sun, 05 Apr 2009) | 9 lines

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

  ........
    r71280 | tarek.ziade | 2009-04-05 23:44:08 +0200 (Sun, 05 Apr 2009) | 1 line

    Fixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test
  ........
................

17 years agoBlocked revisions 71254 via svnmerge
Tarek Ziadé [Sun, 5 Apr 2009 18:37:01 +0000 (18:37 +0000)] 
Blocked revisions 71254 via svnmerge

................
  r71254 | tarek.ziade | 2009-04-05 20:33:34 +0200 (Sun, 05 Apr 2009) | 9 lines

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

  ........
    r71253 | tarek.ziade | 2009-04-05 20:31:24 +0200 (Sun, 05 Apr 2009) | 1 line

    Fixed 5694: removed spurious test output in Distutils
  ........
................

17 years agoBlocked revisions 70753 via svnmerge
Mark Dickinson [Sun, 5 Apr 2009 16:04:57 +0000 (16:04 +0000)] 
Blocked revisions 70753 via svnmerge

........
  r70753 | georg.brandl | 2009-03-30 22:21:05 +0100 (Mon, 30 Mar 2009) | 1 line

  Remove merging leftover.
........

17 years agoRemove leftover svn conflict marker
Mark Dickinson [Sun, 5 Apr 2009 16:03:02 +0000 (16:03 +0000)] 
Remove leftover svn conflict marker

17 years agoMerged revisions 70148 via svnmerge from
Matthias Klose [Sun, 5 Apr 2009 13:44:43 +0000 (13:44 +0000)] 
Merged revisions 70148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70148 | benjamin.peterson | 2009-03-03 23:55:55 +0100 (Di, 03 Mär 2009) | 1 line

  don't bother with version in doc builds
........

17 years agoMerged revisions 71180 via svnmerge from
Martin v. Löwis [Sat, 4 Apr 2009 18:53:09 +0000 (18:53 +0000)] 
Merged revisions 71180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71180 | martin.v.loewis | 2009-04-04 20:48:39 +0200 (Sa, 04 Apr 2009) | 9 lines

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

  ........
    r71179 | martin.v.loewis | 2009-04-04 20:44:44 +0200 (Sa, 04 Apr 2009) | 2 lines

    Issue #5470: Package zipdir.zip.
  ........
................

17 years agoAdd helpful link.
Raymond Hettinger [Sat, 4 Apr 2009 05:39:19 +0000 (05:39 +0000)] 
Add helpful link.

17 years agoMerged revisions 71116 via svnmerge from
R. David Murray [Sat, 4 Apr 2009 01:43:09 +0000 (01:43 +0000)] 
Merged revisions 71116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r71116 | r.david.murray | 2009-04-03 21:38:38 -0400 (Fri, 03 Apr 2009) | 10 lines

  Update documentation for csv module to reflect changes in code,
  specifically that it now expects unicode input (and therefore the
  paragraph about it not handling unicode is deleted, as well as
  the 'how to handle unicode' examples) and that files should
  be opened with "newline=''" instead of binary mode.  Also removed
  unused BytesIO import from test_csv.

  This addresses issue 4847.
........

17 years agoBlocked revisions 71096 via svnmerge
Eric Smith [Fri, 3 Apr 2009 14:46:32 +0000 (14:46 +0000)] 
Blocked revisions 71096 via svnmerge

........
  r71096 | eric.smith | 2009-04-03 10:45:06 -0400 (Fri, 03 Apr 2009) | 9 lines

  Added ',' thousands grouping to int.__format__. See PEP 378.

  This is incomplete, but I want to get some version into the next alpha. I am still working on:
  Documentation.
  More tests.
  Implement for floats.

  In addition, there's an existing bug with 'n' formatting that carries forward to thousands grouping (issue 5515).
........

17 years agoFix typo.
Raymond Hettinger [Fri, 3 Apr 2009 05:46:13 +0000 (05:46 +0000)] 
Fix typo.

17 years agoLocalize the function lookup in timeit.
Raymond Hettinger [Fri, 3 Apr 2009 02:49:10 +0000 (02:49 +0000)] 
Localize the function lookup in timeit.

17 years agoMark 71067 as merged.
R. David Murray [Thu, 2 Apr 2009 20:26:12 +0000 (20:26 +0000)] 
Mark 71067 as merged.

17 years agoActually this was merged by hand because svnmerge messed up the properties
R. David Murray [Thu, 2 Apr 2009 20:22:29 +0000 (20:22 +0000)] 
Actually this was merged by hand because svnmerge messed up the properties
on the merge of revision 71067 presumably as a result of my immediately
previous fix for Brett's fix for his fix....

Merged revisions 71067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71067 | r.david.murray | 2009-04-02 15:44:43 -0400 (Thu, 02 Apr 2009) | 13 lines

  In 3k this becomes an items() call.

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

  ........
    r71046 | r.david.murray | 2009-04-02 10:05:35 -0400 (Thu, 02 Apr 2009) | 4 lines

    Add missing iteritems() call to the for loop in mailbox.MH.get_message().

    Fixes issue2625.
  ........
................

17 years agoBlocked revisions 71061 via svnmerge
Mark Dickinson [Thu, 2 Apr 2009 18:44:10 +0000 (18:44 +0000)] 
Blocked revisions 71061 via svnmerge

........
  r71061 | mark.dickinson | 2009-04-02 19:41:40 +0100 (Thu, 02 Apr 2009) | 2 lines

  Rewrap some long lines.
........

17 years agoMerged revisions 71038 via svnmerge from
R. David Murray [Thu, 2 Apr 2009 05:01:10 +0000 (05:01 +0000)] 
Merged revisions 71038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r71038 | r.david.murray | 2009-04-02 00:50:03 -0400 (Thu, 02 Apr 2009) | 9 lines

  Clarify that datetime strftime does not produce leap seconds and datetime
  strptime does not accept it in the strftime behavior section of the
  datetime docs.

  Closes issue 2568.
........

17 years agoMerged revisions 71018,71020-71021 via svnmerge from
Benjamin Peterson [Thu, 2 Apr 2009 02:52:09 +0000 (02:52 +0000)] 
Merged revisions 71018,71020-71021 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r71018 | benjamin.peterson | 2009-04-01 20:50:37 -0500 (Wed, 01 Apr 2009) | 1 line

  fix ref leaks
........
  r71020 | benjamin.peterson | 2009-04-01 21:27:20 -0500 (Wed, 01 Apr 2009) | 1 line

  rewrite error handling to make sense
........
  r71021 | benjamin.peterson | 2009-04-01 21:27:56 -0500 (Wed, 01 Apr 2009) | 1 line

  remove unused variable
........

17 years agoAdd link to an alternative generator with a long-period.
Raymond Hettinger [Wed, 1 Apr 2009 20:54:19 +0000 (20:54 +0000)] 
Add link to an alternative generator with a long-period.

17 years agoIssue #5647: MutableSet.__iand__() no longer mutates self during iteration.
Raymond Hettinger [Wed, 1 Apr 2009 19:03:30 +0000 (19:03 +0000)] 
Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.

17 years agoBlocked revisions 70924 via svnmerge
Tarek Ziadé [Tue, 31 Mar 2009 22:52:58 +0000 (22:52 +0000)] 
Blocked revisions 70924 via svnmerge

................
  r70924 | tarek.ziade | 2009-03-31 17:50:54 -0500 (Tue, 31 Mar 2009) | 13 lines

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

  ........
    r70920 | tarek.ziade | 2009-03-31 17:44:10 -0500 (Tue, 31 Mar 2009) | 1 line

    catching msvc9compiler error as well
  ........
    r70922 | tarek.ziade | 2009-03-31 17:47:01 -0500 (Tue, 31 Mar 2009) | 1 line

    fixed the test for win32 CompileError
  ........
................

17 years agoBlocked revisions 70914 via svnmerge
Tarek Ziadé [Tue, 31 Mar 2009 22:43:15 +0000 (22:43 +0000)] 
Blocked revisions 70914 via svnmerge

................
  r70914 | tarek.ziade | 2009-03-31 17:37:55 -0500 (Tue, 31 Mar 2009) | 9 lines

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

  ........
    r70910 | tarek.ziade | 2009-03-31 17:27:23 -0500 (Tue, 31 Mar 2009) | 1 line

    #5583 Added optional Extensions in Distutils
  ........
................

17 years agoMerged revisions 70913 via svnmerge from
Jesse Noller [Tue, 31 Mar 2009 22:42:05 +0000 (22:42 +0000)] 
Merged revisions 70913 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70913 | jesse.noller | 2009-03-31 17:36:44 -0500 (Tue, 31 Mar 2009) | 9 lines

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

  ........
    r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line

    Issue 5619: Pass MS CRT debug flags into subprocesses
  ........
................

17 years agoBlocked revisions 70898 via svnmerge
Tarek Ziadé [Tue, 31 Mar 2009 21:39:59 +0000 (21:39 +0000)] 
Blocked revisions 70898 via svnmerge

................
  r70898 | tarek.ziade | 2009-03-31 16:37:16 -0500 (Tue, 31 Mar 2009) | 29 lines

  Merged revisions 70886,70888-70892 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70886 | tarek.ziade | 2009-03-31 15:50:59 -0500 (Tue, 31 Mar 2009) | 1 line

    added tests for the clean command
  ........
    r70888 | tarek.ziade | 2009-03-31 15:53:13 -0500 (Tue, 31 Mar 2009) | 1 line

    more tests for the register command
  ........
    r70889 | tarek.ziade | 2009-03-31 15:53:55 -0500 (Tue, 31 Mar 2009) | 1 line

    more tests for the upload command
  ........
    r70890 | tarek.ziade | 2009-03-31 15:54:38 -0500 (Tue, 31 Mar 2009) | 1 line

    added test to the install_data command
  ........
    r70891 | tarek.ziade | 2009-03-31 15:55:21 -0500 (Tue, 31 Mar 2009) | 1 line

    added tests to the install_headers command
  ........
    r70892 | tarek.ziade | 2009-03-31 15:56:11 -0500 (Tue, 31 Mar 2009) | 1 line

    making sdist and config test silents
  ........
................

17 years agoMerged revisions 70884 via svnmerge from
Hirokazu Yamamoto [Tue, 31 Mar 2009 20:51:44 +0000 (20:51 +0000)] 
Merged revisions 70884 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70884 | hirokazu.yamamoto | 2009-04-01 05:43:56 +0900 | 9 lines

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

  ........
    r70879 | hirokazu.yamamoto | 2009-04-01 05:14:04 +0900 | 1 line

    Issue #5387: Fixed mmap.move crash by integer overflow. (take2)
  ........
................

17 years agoMerged revisions 70823 via svnmerge from
Jeremy Hylton [Tue, 31 Mar 2009 16:17:06 +0000 (16:17 +0000)] 
Merged revisions 70823 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70823 | jeremy.hylton | 2009-03-31 11:26:37 -0400 (Tue, 31 Mar 2009) | 29 lines

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

  The merge ran into a lot of conflicts because dicts were replaced with
  sets in the Python 3 version of the symbol table.

  ........
    r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines

    Add is_declared_global() which distinguishes between implicit and
    explicit global variables.
  ........
    r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines

    Global statements from one function leaked into parallel functions.

    Re http://bugs.python.org/issue4315

    The symbol table used the same name dictionaries to recursively
    analyze each of its child blocks, even though the dictionaries are
    modified during analysis.  The fix is to create new temporary
    dictionaries via the analyze_child_block().  The only information that
    needs to propagate back up is the names of the free variables.

    Add more comments and break out a helper function.  This code doesn't
    get any easier to understand when you only look at it once a year.
  ........
................

17 years agoMerged revisions 70808 via svnmerge from
Hirokazu Yamamoto [Tue, 31 Mar 2009 14:07:51 +0000 (14:07 +0000)] 
Merged revisions 70808 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70808 | hirokazu.yamamoto | 2009-03-31 22:44:06 +0900 | 9 lines

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

  ........
    r70800 | hirokazu.yamamoto | 2009-03-31 22:13:05 +0900 | 1 line

    Issue #5387: Fixed mmap.move crash by integer overflow.
  ........
................

17 years agoBlocked revisions 70762 via svnmerge
Guido van Rossum [Mon, 30 Mar 2009 22:04:49 +0000 (22:04 +0000)] 
Blocked revisions 70762 via svnmerge

........
  r70762 | guido.van.rossum | 2009-03-30 17:01:35 -0500 (Mon, 30 Mar 2009) | 8 lines

  Issue #5604: non-ASCII characters in module name passed to
  imp.find_module() were converted to UTF-8 while the path is
  converted to the default filesystem encoding, causing nonsense.
  Thanks to Andrew Svetlov.

  (This time to the right branch.  Will block duplicate merge to 3.0.2.)
........

17 years agoIssue #5604: non-ASCII characters in module name passed to
Guido van Rossum [Mon, 30 Mar 2009 21:43:25 +0000 (21:43 +0000)] 
Issue #5604: non-ASCII characters in module name passed to
imp.find_module() were converted to UTF-8 while the path is
converted to the default filesystem encoding, causing nonsense.
Thanks Andrew Svetlov!

17 years agoMerged revisions 70707 via svnmerge from
Benjamin Peterson [Mon, 30 Mar 2009 14:55:02 +0000 (14:55 +0000)] 
Merged revisions 70707 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70707 | benjamin.peterson | 2009-03-30 09:51:56 -0500 (Mon, 30 Mar 2009) | 58 lines

  Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line

    this is better written using assertRaises
  ........
    r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line

    this can be slightly less ugly
  ........
    r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines

    Adjusted _tkinter to compile without warnings when WITH_THREAD is not
    defined (part of issue #5035)
  ........
    r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line

    Fix typo.
  ........
    r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line

    give os.symlink and os.link() better parameter names #5564
  ........
    r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line

    Switch to fixed Sphinx version.
  ........
    r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines

    Add section numbering to some of the larger subdocuments.
  ........
    r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line

    Typo fix.
  ........
    r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line

    Make life easier for non-CPython implementations.
  ........
    r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line

    this has been fixed since 2.6 (I love removing these)
  ........
    r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line

    thanks to guido's bytecode verifier, this is fixed
  ........
    r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line

    use the awesome new status iterator
  ........
    r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line

    there's actually three methods here #5600
  ........
................

17 years agoMerged revisions 70690,70692 via svnmerge from
Antoine Pitrou [Sun, 29 Mar 2009 19:03:52 +0000 (19:03 +0000)] 
Merged revisions 70690,70692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70690 | antoine.pitrou | 2009-03-29 20:40:13 +0200 (dim., 29 mars 2009) | 3 lines

  Fix leak in _fileio.c (patch by Hirokazu Yamamoto)
........
  r70692 | antoine.pitrou | 2009-03-29 20:55:12 +0200 (dim., 29 mars 2009) | 4 lines

  Plug another leak, and finally add a test for #1174606 (read() from /dev/zero).
  The leak was the reason my previous attempts at testing failed...
........

17 years agoBlocked revisions 70688 via svnmerge
Mark Dickinson [Sun, 29 Mar 2009 17:00:24 +0000 (17:00 +0000)] 
Blocked revisions 70688 via svnmerge

........
  r70688 | mark.dickinson | 2009-03-29 17:58:21 +0100 (Sun, 29 Mar 2009) | 6 lines

  Issue #5463: Remove _PY_STRUCT_RANGE_CHECKING constant from struct
  module, and remove associated code from test_struct.  This was a
  mechanism for skipping some of the tests for overflow behaviour when
  packing integers; it's no longer necessary.
........

17 years agoMerged revisions 70686 via svnmerge from
Mark Dickinson [Sun, 29 Mar 2009 16:36:01 +0000 (16:36 +0000)] 
Merged revisions 70686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70686 | mark.dickinson | 2009-03-29 17:34:21 +0100 (Sun, 29 Mar 2009) | 15 lines

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

  ........
    r70682 | mark.dickinson | 2009-03-29 17:17:16 +0100 (Sun, 29 Mar 2009) | 3 lines

    Issue #532631:  Add paranoid check to avoid potential buffer overflow
    on systems with sizeof(int) > 4.
  ........
    r70684 | mark.dickinson | 2009-03-29 17:24:29 +0100 (Sun, 29 Mar 2009) | 3 lines

    Issue #532631: Apply floatformat changes to unicodeobject.c
    as well as stringobject.c.
  ........
................

17 years agoMerged revisions 70680 via svnmerge from
Mark Dickinson [Sun, 29 Mar 2009 15:21:46 +0000 (15:21 +0000)] 
Merged revisions 70680 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70680 | mark.dickinson | 2009-03-29 16:19:47 +0100 (Sun, 29 Mar 2009) | 10 lines

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

  ........
    r70678 | mark.dickinson | 2009-03-29 15:37:51 +0100 (Sun, 29 Mar 2009) | 3 lines

    Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
    with fabs(x) >= 1e50, and fix documentation.
  ........
................

17 years agoMerged revisions 70676 via svnmerge from
Benjamin Peterson [Sun, 29 Mar 2009 13:12:59 +0000 (13:12 +0000)] 
Merged revisions 70676 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70676 | benjamin.peterson | 2009-03-29 08:02:52 -0500 (Sun, 29 Mar 2009) | 1 line

  fix variable name #5595
........

17 years agoBlocked revisions 70666 via svnmerge
Antoine Pitrou [Sun, 29 Mar 2009 01:10:14 +0000 (01:10 +0000)] 
Blocked revisions 70666 via svnmerge

........
  r70666 | antoine.pitrou | 2009-03-29 03:09:51 +0200 (dim., 29 mars 2009) | 3 lines

  Restore a conditional I removed by mistake.
........

17 years agoMerged revisions 70664 via svnmerge from
Antoine Pitrou [Sun, 29 Mar 2009 00:57:20 +0000 (00:57 +0000)] 
Merged revisions 70664 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70664 | antoine.pitrou | 2009-03-29 01:45:26 +0100 (dim., 29 mars 2009) | 6 lines

  Issue #1174606: Calling read() without arguments of an unbounded file
  (typically /dev/zero under Unix) could crash the interpreter.

  No test as there always seems to be a risk of putting the machine on its knees.
........

17 years agoMerged revisions 70628 via svnmerge from
Benjamin Peterson [Thu, 26 Mar 2009 21:54:53 +0000 (21:54 +0000)] 
Merged revisions 70628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70628 | benjamin.peterson | 2009-03-26 16:49:58 -0500 (Thu, 26 Mar 2009) | 31 lines

  Merged revisions 70518,70521,70590,70594-70595 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70518 | matthias.klose | 2009-03-22 08:08:22 -0500 (Sun, 22 Mar 2009) | 2 lines

    - Fix comment macro in python.man
  ........
    r70521 | benjamin.peterson | 2009-03-22 12:45:11 -0500 (Sun, 22 Mar 2009) | 1 line

    close the file even if an exception occurs #5536
  ........
    r70590 | skip.montanaro | 2009-03-24 19:52:11 -0500 (Tue, 24 Mar 2009) | 1 line

    clarify the type of data returned
  ........
    r70594 | marc-andre.lemburg | 2009-03-25 14:44:58 -0500 (Wed, 25 Mar 2009) | 9 lines

    Remove the sys.version_info shortcut, since they cause the APIs
    to return different information than the _sys_version() output
    used in previous Python versions.

    This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings

    Added more tests for the various platform functions.
  ........
    r70595 | marc-andre.lemburg | 2009-03-25 14:45:33 -0500 (Wed, 25 Mar 2009) | 3 lines

    News item for the platform.py fix (r70594).
  ........
................

17 years agoMerged revisions 70610 via svnmerge from
Benjamin Peterson [Thu, 26 Mar 2009 21:51:18 +0000 (21:51 +0000)] 
Merged revisions 70610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70610 | benjamin.peterson | 2009-03-26 12:15:46 -0500 (Thu, 26 Mar 2009) | 1 line

  fix isprintable() on space characters #5126
........

17 years agobackport new c module docs
Benjamin Peterson [Tue, 24 Mar 2009 01:36:17 +0000 (01:36 +0000)] 
backport new c module docs

17 years agoAdd links to related resources.
Raymond Hettinger [Tue, 24 Mar 2009 00:23:08 +0000 (00:23 +0000)] 
Add links to related resources.

17 years agoFix an incorrect merge.
Raymond Hettinger [Mon, 23 Mar 2009 22:43:36 +0000 (22:43 +0000)] 
Fix an incorrect merge.

17 years agoBlocked revisions 70547 via svnmerge
Mark Dickinson [Mon, 23 Mar 2009 18:46:40 +0000 (18:46 +0000)] 
Blocked revisions 70547 via svnmerge

................
  r70547 | mark.dickinson | 2009-03-23 18:44:57 +0000 (Mon, 23 Mar 2009) | 21 lines

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

  ........
    r70542 | mark.dickinson | 2009-03-23 18:25:13 +0000 (Mon, 23 Mar 2009) | 14 lines

    Issue #5512: speed up the long division algorithm for Python longs.
    The basic algorithm remains the same; the most significant speedups
    come from the following three changes:

      (1) normalize by shifting instead of multiplying and dividing
      (2) the old algorithm usually did an unnecessary extra iteration of
          the outer loop; remove this.  As a special case, this means that
          long divisions with a single-digit result run twice as fast as
          before.
      (3) make inner loop much tighter.

    Various benchmarks show speedups of between 50% and 150% for long
    integer divisions and modulo operations.
  ........
................

17 years agoMerged revisions 70536 via svnmerge from
Benjamin Peterson [Mon, 23 Mar 2009 02:54:05 +0000 (02:54 +0000)] 
Merged revisions 70536 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70536 | benjamin.peterson | 2009-03-22 21:49:51 -0500 (Sun, 22 Mar 2009) | 1 line

  more about the file type's death #5513
........

17 years agoAvoid EOFError being passed to the caller (restoring the
Lars Gustäbel [Sun, 22 Mar 2009 21:32:31 +0000 (21:32 +0000)] 
Avoid EOFError being passed to the caller (restoring the
old behavior).

17 years agoMerged revisions 70525 via svnmerge from
Lars Gustäbel [Sun, 22 Mar 2009 20:39:38 +0000 (20:39 +0000)] 
Merged revisions 70525 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70525 | lars.gustaebel | 2009-03-22 21:34:29 +0100 (Sun, 22 Mar 2009) | 12 lines

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

  ........
    r70523 | lars.gustaebel | 2009-03-22 21:09:33 +0100 (Sun, 22 Mar 2009) | 5 lines

    Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop
    forever on incomplete input. That caused tarfile.open() to hang when used
    with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or
    partial bzip2 compressed data.
  ........
................

17 years agoMerged revisions 70507-70508 via svnmerge from
Benjamin Peterson [Sat, 21 Mar 2009 17:44:10 +0000 (17:44 +0000)] 
Merged revisions 70507-70508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70507 | benjamin.peterson | 2009-03-21 12:31:58 -0500 (Sat, 21 Mar 2009) | 75 lines

  Merged revisions 70342,70385-70387,70389-70390,70392-70393,70395,70400,70405-70406,70418,70438,70464,70468 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70342 | georg.brandl | 2009-03-13 14:03:58 -0500 (Fri, 13 Mar 2009) | 1 line

    #5486: typos.
  ........
    r70385 | benjamin.peterson | 2009-03-15 09:38:55 -0500 (Sun, 15 Mar 2009) | 1 line

    fix tuple.index() error message #5495
  ........
    r70386 | georg.brandl | 2009-03-15 16:32:06 -0500 (Sun, 15 Mar 2009) | 1 line

    #5496: fix docstring of lookup().
  ........
    r70387 | georg.brandl | 2009-03-15 16:37:16 -0500 (Sun, 15 Mar 2009) | 1 line

    #5493: clarify __nonzero__ docs.
  ........
    r70389 | georg.brandl | 2009-03-15 16:43:38 -0500 (Sun, 15 Mar 2009) | 1 line

    Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
  ........
    r70390 | georg.brandl | 2009-03-15 16:44:43 -0500 (Sun, 15 Mar 2009) | 1 line

    #5491: clarify nested() semantics.
  ........
    r70392 | georg.brandl | 2009-03-15 16:46:00 -0500 (Sun, 15 Mar 2009) | 1 line

    #5488: add missing struct member.
  ........
    r70393 | georg.brandl | 2009-03-15 16:47:42 -0500 (Sun, 15 Mar 2009) | 1 line

    #5478: fix copy-paste oversight in function signature.
  ........
    r70395 | georg.brandl | 2009-03-15 16:51:48 -0500 (Sun, 15 Mar 2009) | 1 line

    #5276: document IDLESTARTUP and .Idle.py.
  ........
    r70400 | georg.brandl | 2009-03-15 16:59:37 -0500 (Sun, 15 Mar 2009) | 3 lines

    Fix markup in re docs and give a mail address in regex howto, so that
    the recommendation to send suggestions to the author can be followed.
  ........
    r70405 | georg.brandl | 2009-03-15 17:11:07 -0500 (Sun, 15 Mar 2009) | 7 lines

    Move the previously local import of threading to module level.

    This is cleaner and avoids lockups in obscure cases where a Queue
    is instantiated while the import lock is already held by another thread.

    OKed by Tim Peters.
  ........
    r70406 | hirokazu.yamamoto | 2009-03-15 17:43:14 -0500 (Sun, 15 Mar 2009) | 1 line

    Added skip for old MSVC.
  ........
    r70418 | georg.brandl | 2009-03-16 14:42:03 -0500 (Mon, 16 Mar 2009) | 1 line

    Add token markup.
  ........
    r70438 | benjamin.peterson | 2009-03-17 15:29:51 -0500 (Tue, 17 Mar 2009) | 1 line

    I thought this was begging for an example
  ........
    r70464 | benjamin.peterson | 2009-03-18 15:58:09 -0500 (Wed, 18 Mar 2009) | 1 line

    a much better example
  ........
    r70468 | benjamin.peterson | 2009-03-18 22:04:31 -0500 (Wed, 18 Mar 2009) | 1 line

    close files after comparing them
  ........
................
  r70508 | benjamin.peterson | 2009-03-21 12:36:10 -0500 (Sat, 21 Mar 2009) | 1 line

  port the queue change r70405
................

17 years agoMerged revisions 70503 via svnmerge from
Hirokazu Yamamoto [Sat, 21 Mar 2009 13:37:43 +0000 (13:37 +0000)] 
Merged revisions 70503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70503 | hirokazu.yamamoto | 2009-03-21 22:23:27 +0900 | 9 lines

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

  ........
    r70499 | hirokazu.yamamoto | 2009-03-21 19:32:52 +0900 | 1 line

    There is no macro named SIZEOF_SSIZE_T. Should use SIZEOF_SIZE_T instead.
  ........
................

17 years agoBlocked revisions 70500 via svnmerge
Mark Dickinson [Sat, 21 Mar 2009 10:52:39 +0000 (10:52 +0000)] 
Blocked revisions 70500 via svnmerge

........
  r70500 | mark.dickinson | 2009-03-21 10:51:42 +0000 (Sat, 21 Mar 2009) | 2 lines

  Remove remnants of svn conflict marker from Misc/NEWS
........

17 years agoBlocked revisions 70497 via svnmerge
Mark Dickinson [Sat, 21 Mar 2009 10:28:18 +0000 (10:28 +0000)] 
Blocked revisions 70497 via svnmerge

........
  r70497 | mark.dickinson | 2009-03-21 10:26:31 +0000 (Sat, 21 Mar 2009) | 6 lines

  - Issue #5463: In struct module, remove deprecated overflow wrapping
    when packing an integer: for example, struct.pack('=L', -1) now
    raises struct.error instead of returning b'\xff\xff\xff\xff'.

    Thanks Andreas Schawo for the patch.
........

17 years agoBlocked revisions 70491 via svnmerge
Mark Dickinson [Fri, 20 Mar 2009 23:24:26 +0000 (23:24 +0000)] 
Blocked revisions 70491 via svnmerge

................
  r70491 | mark.dickinson | 2009-03-20 23:23:15 +0000 (Fri, 20 Mar 2009) | 10 lines

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

  ........
    r70489 | mark.dickinson | 2009-03-20 23:16:14 +0000 (Fri, 20 Mar 2009) | 4 lines

    Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signed
    integer types T, not just those for which "unsigned T" is legal.
  ........
................

17 years agoAdd MutableSet example.
Raymond Hettinger [Fri, 20 Mar 2009 18:31:58 +0000 (18:31 +0000)] 
Add MutableSet example.

17 years agoBlocked revisions 70482 via svnmerge
Mark Dickinson [Fri, 20 Mar 2009 16:01:41 +0000 (16:01 +0000)] 
Blocked revisions 70482 via svnmerge

........
  r70482 | mark.dickinson | 2009-03-20 16:00:49 +0000 (Fri, 20 Mar 2009) | 4 lines

  Add ..versionadded for sys.int_info, update py3k version of
  whatsnew/2.7.rst to keep it in sync with the trunk version, and
  replace SHIFT with PyLong_SHIFT in #error message
........

17 years agoMerged revisions 70461 via svnmerge from
Antoine Pitrou [Wed, 18 Mar 2009 20:28:09 +0000 (20:28 +0000)] 
Merged revisions 70461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r70461 | antoine.pitrou | 2009-03-18 21:26:42 +0100 (mer., 18 mars 2009) | 3 lines

  svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message)
........

17 years agoBlocked revisions 70459 via svnmerge
Mark Dickinson [Wed, 18 Mar 2009 20:12:49 +0000 (20:12 +0000)] 
Blocked revisions 70459 via svnmerge

........
  r70459 | mark.dickinson | 2009-03-18 20:06:12 +0000 (Wed, 18 Mar 2009) | 7 lines

  Issue #4258:  Make it possible to use 30-bit digits for PyLongs:
   - new configure option --enable-big-digits
   - new structseq sys.int_info giving information about the internal format
  By default, 30-bit digits are enabled on 64-bit machines but
  disabled on 32-bit machines.
........