1. 01 Aug, 2010 12 commits
    • Georg Brandl's avatar
      Merged revisions 83325,83328,83341 via svnmerge from · 8b98322d
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83325 | georg.brandl | 2010-07-31 11:37:03 +0200 (Sa, 31 Jul 2010) | 1 line
      
        Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
      ........
        r83328 | raymond.hettinger | 2010-07-31 12:14:41 +0200 (Sa, 31 Jul 2010) | 1 line
      
        Document how to change OrderedDict update order from first to last.
      ........
        r83341 | georg.brandl | 2010-07-31 13:40:07 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #9430: document timedelta str() and repr().
      ........
      8b98322d
    • Georg Brandl's avatar
      Merged revisions 83352,83355-83358,83362,83366,83368-83369 via svnmerge from · 86f9e664
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83352 | georg.brandl | 2010-07-31 20:11:07 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
      ........
        r83355 | georg.brandl | 2010-07-31 21:17:11 +0200 (Sa, 31 Jul 2010) | 1 line
      
        Fix bad merge: test_support -> support.
      ........
        r83356 | georg.brandl | 2010-07-31 21:29:15 +0200 (Sa, 31 Jul 2010) | 1 line
      
        Remove trailing whitespace.
      ........
        r83357 | georg.brandl | 2010-07-31 21:59:55 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #5778: document that sys.version can contain a newline.
      ........
        r83358 | georg.brandl | 2010-07-31 22:05:31 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #9442: do not document a specific format for sys.version; rather refer to version_info and the platform module.
      ........
        r83362 | georg.brandl | 2010-07-31 23:12:15 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #8910: add a file explaining why Lib/test/data is there.
      ........
        r83366 | georg.brandl | 2010-07-31 23:26:40 +0200 (Sa, 31 Jul 2010) | 1 line
      
        There always is a False and True now.
      ........
        r83368 | georg.brandl | 2010-07-31 23:40:15 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them.  See http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx for details.
      ........
        r83369 | georg.brandl | 2010-07-31 23:41:42 +0200 (Sa, 31 Jul 2010) | 1 line
      
        Fix "Berkeley" name.
      ........
      86f9e664
    • Georg Brandl's avatar
      Merged revisions 83370,83372-83374,83384 via svnmerge from · cd69a3af
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83370 | georg.brandl | 2010-07-31 23:51:48 +0200 (Sa, 31 Jul 2010) | 5 lines
      
        #8198: the Helper class should not save the stdin and stdout objects
        at import time, rather by default use the current streams like the
        other APIs that output help.
      ........
        r83372 | georg.brandl | 2010-08-01 00:05:54 +0200 (So, 01 Aug 2010) | 1 line
      
        #4007: remove *.a and *.so.X.Y files in "make clean".
      ........
        r83373 | georg.brandl | 2010-08-01 00:11:11 +0200 (So, 01 Aug 2010) | 1 line
      
        #5147: revert accidental indentation of header constant for MozillaCookieJar.
      ........
        r83374 | georg.brandl | 2010-08-01 00:32:52 +0200 (So, 01 Aug 2010) | 1 line
      
        #5146: handle UID THREAD command correctly.
      ........
        r83384 | georg.brandl | 2010-08-01 08:32:55 +0200 (So, 01 Aug 2010) | 1 line
      
        Build properties using lambdas.  This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
      ........
      cd69a3af
    • Georg Brandl's avatar
      Merged revisions 83371,83390 via svnmerge from · 1638fa0c
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83371 | georg.brandl | 2010-07-31 23:54:24 +0200 (Sa, 31 Jul 2010) | 1 line
      
        #8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
      ........
        r83390 | georg.brandl | 2010-08-01 10:07:49 +0200 (So, 01 Aug 2010) | 1 line
      
        #8230: make Lib/test/sortperf.py run on Python 3.
      ........
      1638fa0c
    • Georg Brandl's avatar
      Merged revisions 83385-83389,83391 via svnmerge from · 822712a1
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line
      
        #8773: mailbox.py does not need to be executable.
      ........
        r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line
      
        #8768: name test method properly so that it gets executed.
      ........
        r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line
      
        #8735: better explain semantics of *values* argument for parse().
      ........
        r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line
      
        #7395: fix traceback in do_add() when no stats are loaded.  Apply same fix for do_sort() and do_reverse().
      ........
        r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line
      
        Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
      ........
        r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line
      
        Add another news entry.
      ........
      822712a1
    • Georg Brandl's avatar
      Merged revisions 83395,83417 via svnmerge from · 5b300edd
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83395 | georg.brandl | 2010-08-01 10:49:18 +0200 (So, 01 Aug 2010) | 1 line
      
        #8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
      ........
        r83417 | georg.brandl | 2010-08-01 20:38:26 +0200 (So, 01 Aug 2010) | 1 line
      
        #5776: fix mistakes in python specfile.  (Nobody probably uses it anyway.)
      ........
      5b300edd
    • Georg Brandl's avatar
      Merged revisions 83393,83396,83398,83404-83405,83408 via svnmerge from · e3298736
      Georg Brandl authored
      svn+ssh://svn.python.org/python/branches/py3k
      
      ........
        r83393 | georg.brandl | 2010-08-01 10:35:29 +0200 (So, 01 Aug 2010) | 1 line
      
        #1690103: fix initial namespace for code run with trace.main().
      ........
        r83396 | georg.brandl | 2010-08-01 10:52:32 +0200 (So, 01 Aug 2010) | 1 line
      
        #4810: document "--" option separator in timeit help.
      ........
        r83398 | georg.brandl | 2010-08-01 11:06:34 +0200 (So, 01 Aug 2010) | 1 line
      
        #8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes.  Handle that as a special case.
      ........
        r83404 | georg.brandl | 2010-08-01 16:25:22 +0200 (So, 01 Aug 2010) | 1 line
      
        #6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
      ........
        r83405 | georg.brandl | 2010-08-01 16:38:17 +0200 (So, 01 Aug 2010) | 1 line
      
        #4943: do not try to include drive letters (and colons) when looking for a probably module name.
      ........
        r83408 | georg.brandl | 2010-08-01 17:30:56 +0200 (So, 01 Aug 2010) | 1 line
      
        #5551: symbolic links never can be mount points.  Fixes the fix for #1713.
      ........
      e3298736
    • Senthil Kumaran's avatar
      Merged revisions 83415 via svnmerge from · 1391a166
      Senthil Kumaran authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83415 | senthil.kumaran | 2010-08-01 23:23:37 +0530 (Sun, 01 Aug 2010) | 3 lines
      
        Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
      ........
      1391a166
    • Antoine Pitrou's avatar
      Merged revisions 83411 via svnmerge from · e26b1c24
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83411 | antoine.pitrou | 2010-08-01 18:53:42 +0200 (dim., 01 août 2010) | 4 lines
      
        Issue #9448: Fix a leak of OS resources (mutexes or semaphores) when
        re-initializing a buffered IO object by calling its `__init__` method.
      ........
      e26b1c24
    • Brian Curtin's avatar
      Merged revisions 83407 via svnmerge from · fc5d4717
      Brian Curtin authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83407 | brian.curtin | 2010-08-01 10:26:26 -0500 (Sun, 01 Aug 2010) | 3 lines
      
        Fix #8105. Add validation to mmap.mmap so invalid file descriptors
        don't cause a crash on Windows.
      ........
      fc5d4717
    • Mark Dickinson's avatar
      Merged revisions 83400 via svnmerge from · 3b4f1f7a
      Mark Dickinson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83400 | mark.dickinson | 2010-08-01 11:41:49 +0100 (Sun, 01 Aug 2010) | 7 lines
      
        Issue #9416: Fix some issues with complex formatting where the
        output with no type specifier failed to match the str output:
      
          - format(complex(-0.0, 2.0), '-') omitted the real part from the output,
          - format(complex(0.0, 2.0), '-') included a sign and parentheses.
      ........
      3b4f1f7a
    • R. David Murray's avatar
      Merged revisions 83380 via svnmerge from · 7a845a61
      R. David Murray authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83380 | r.david.murray | 2010-07-31 23:31:09 -0400 (Sat, 31 Jul 2010) | 17 lines
      
        #8620: Cmd no longer truncates last character if stdin ends without newline
      
        Cmd used to blindly chop off the last character of every input line.  If
        the input reached EOF and there was no final new line, it would truncate
        the last character of the last command.  This fix instead strips trailing
        \r\n from the input lines.  While this is a small behavior change, it
        should not break any working code, since feeding a '\r\n' terminated
        file to Cmd would previously leave the \r's on the lines, resulting
        in failed command execution.
      
        I wrote the unit test in preparation for a PyOhio TeachMe session
        run by Catherine Devlin, and we can thank Catherine and the PyOhio
        session attendees for the fix.  I've added Catherine to the Acks file
        for organizing and leading the TeachMe session, out of which we will
        hopefully get some new contributors.
      ........
      7a845a61
  2. 31 Jul, 2010 2 commits
  3. 30 Jul, 2010 1 commit
  4. 29 Jul, 2010 2 commits
  5. 28 Jul, 2010 1 commit
  6. 27 Jul, 2010 4 commits
  7. 26 Jul, 2010 1 commit
  8. 25 Jul, 2010 4 commits
  9. 24 Jul, 2010 3 commits
    • Ronald Oussoren's avatar
      Merged revisions 83133 via svnmerge from · afed6e5a
      Ronald Oussoren authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines
      
        Fix for issue 9367: the test code for os.getgroups
        assumes that the result of getgroups and the output
        of the id(1) command return groups in the same
        order.  That assumption is both fragile and false.
      ........
      afed6e5a
    • Victor Stinner's avatar
      Blocked revisions 83120 via svnmerge · 878896c5
      Victor Stinner authored
      ........
        r83120 | victor.stinner | 2010-07-24 04:24:55 +0200 (sam., 24 juil. 2010) | 12 lines
      
        #9032: XML-RPC client: Transport.request() retries on EPIPE error
      
        The EPIPE error occurs when the server closes the socket and the client sends a
        "big" XML-RPC request (I don't know exactly the size threshold).
      
        request() just have to ignore the error because single_request() closes the
        socket on error, and so the next call to single_request() will open a new
        socket.
      
        Remove also a comment in the HTTP client because it's now wrong: see r70643
        and issue #5542.
      ........
      
      In Python 3.1, Transport.request() doesn't retry on socket error.
      878896c5
    • Victor Stinner's avatar
      Merged revisions 83116 via svnmerge from · a6bdd9a2
      Victor Stinner authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r83116 | victor.stinner | 2010-07-24 02:49:20 +0200 (sam., 24 juil. 2010) | 4 lines
      
        Issue #4629: getopt raises an error if an argument ends with = whereas getopt
        doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long
        options).
      ........
      a6bdd9a2
  10. 23 Jul, 2010 9 commits
  11. 22 Jul, 2010 1 commit
    • Tarek Ziadé's avatar
      Blocked revisions 83053 via svnmerge · 15f0e5a5
      Tarek Ziadé authored
      ........
        r83053 | tarek.ziade | 2010-07-22 14:50:05 +0200 (jeu., 22 juil. 2010) | 1 line
      
        reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
      ........
      15f0e5a5