1. 09 May, 2010 4 commits
  2. 08 May, 2010 6 commits
    • Benjamin Peterson's avatar
      Merged revisions 80993 via svnmerge from · d988dc9d
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80993 | benjamin.peterson | 2010-05-08 11:51:16 -0500 (Sat, 08 May 2010) | 9 lines
      
        Merged revisions 80991 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80991 | benjamin.peterson | 2010-05-08 11:44:52 -0500 (Sat, 08 May 2010) | 1 line
      
          run and fix enumerate start test cases #8636
        ........
      ................
      d988dc9d
    • Benjamin Peterson's avatar
      Merged revisions 80936 via svnmerge from · f5ac9f3f
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80936 | benjamin.peterson | 2010-05-07 14:10:11 -0500 (Fri, 07 May 2010) | 76 lines
      
        Merged revisions 80934 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ................
          r80934 | benjamin.peterson | 2010-05-07 13:58:23 -0500 (Fri, 07 May 2010) | 69 lines
      
          Merged revisions 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922 via svnmerge from
          svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
      
          ........
            r79911 | benjamin.peterson | 2010-04-09 15:38:53 -0500 (Fri, 09 Apr 2010) | 1 line
      
            use absolute import
          ........
            r79916 | benjamin.peterson | 2010-04-09 16:05:21 -0500 (Fri, 09 Apr 2010) | 1 line
      
            generalize detection of __future__ imports and attach them to the tree
          ........
            r79917 | benjamin.peterson | 2010-04-09 16:11:44 -0500 (Fri, 09 Apr 2010) | 1 line
      
            don't try to 'fix' relative imports when absolute_import is enabled #8858
          ........
            r80018 | benjamin.peterson | 2010-04-12 16:12:12 -0500 (Mon, 12 Apr 2010) | 4 lines
      
            prevent diffs from being mangled is multiprocess mode #6409
      
            Patch by George Boutsioukis.
          ........
            r80418 | benjamin.peterson | 2010-04-23 16:00:03 -0500 (Fri, 23 Apr 2010) | 1 line
      
            remove unhelpful description
          ........
            r80572 | benjamin.peterson | 2010-04-27 20:33:54 -0500 (Tue, 27 Apr 2010) | 1 line
      
            use unicode literals
          ........
            r80573 | jeffrey.yasskin | 2010-04-27 23:08:27 -0500 (Tue, 27 Apr 2010) | 6 lines
      
            Don't transform imports that are already relative.  2to3 turned
              from . import refactor
            into
              from .. import refactor
            which broke the transformation of 2to3 itself.
          ........
            r80635 | benjamin.peterson | 2010-04-29 16:02:23 -0500 (Thu, 29 Apr 2010) | 1 line
      
            remove imports
          ........
            r80636 | benjamin.peterson | 2010-04-29 16:02:41 -0500 (Thu, 29 Apr 2010) | 1 line
      
            unicode literal
          ........
            r80637 | benjamin.peterson | 2010-04-29 16:03:42 -0500 (Thu, 29 Apr 2010) | 1 line
      
            must pass a string to Number
          ........
            r80638 | benjamin.peterson | 2010-04-29 16:05:34 -0500 (Thu, 29 Apr 2010) | 1 line
      
            unicode literals
          ........
            r80639 | benjamin.peterson | 2010-04-29 16:06:09 -0500 (Thu, 29 Apr 2010) | 1 line
      
            pass string to Number
          ........
            r80668 | jeffrey.yasskin | 2010-04-30 18:02:47 -0500 (Fri, 30 Apr 2010) | 4 lines
      
            Make 2to3 run under Python 2.5 so that the benchmark suite at
            http://hg.python.org/benchmarks/ can use it and still run on implementations
            that haven't gotten to 2.6 yet.  Fixes issue 8566.
          ........
            r80922 | benjamin.peterson | 2010-05-07 11:06:25 -0500 (Fri, 07 May 2010) | 1 line
      
            prevent xrange transformation from wrapping range calls it produces in list
          ........
        ................
      ................
      f5ac9f3f
    • Benjamin Peterson's avatar
      Merged revisions 80983 via svnmerge from · ddcefe2c
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r80983 | benjamin.peterson | 2010-05-08 10:26:30 -0500 (Sat, 08 May 2010) | 1 line
      
        replace long with int
      ........
      ddcefe2c
    • Victor Stinner's avatar
      Blocked revisions 80948-80950,80971 via svnmerge · 0903ab53
      Victor Stinner authored
      ........
        r80948 | victor.stinner | 2010-05-08 02:07:07 +0200 (sam., 08 mai 2010) | 2 lines
      
        err_input(): don't encode/decode the unicode message
      ........
        r80949 | victor.stinner | 2010-05-08 02:35:33 +0200 (sam., 08 mai 2010) | 3 lines
      
        PyErr_SetFromErrnoWithFilename() decodes the filename using
        PyUnicode_DecodeFSDefault() instead of PyUnicode_FromString()
      ........
        r80950 | victor.stinner | 2010-05-08 02:36:42 +0200 (sam., 08 mai 2010) | 5 lines
      
        posix_error_with_allocated_filename() decodes the filename with
        PyUnicode_DecodeFSDefaultAndSize() and call
        PyErr_SetFromErrnoWithFilenameObject() instead of
        PyErr_SetFromErrnoWithFilename()
      ........
        r80971 | victor.stinner | 2010-05-08 13:10:09 +0200 (sam., 08 mai 2010) | 3 lines
      
        Issue #8514: Add os.fsencode() function (Unix only): encode a string to bytes
        for use in the file system, environment variables or the command line.
      ........
      0903ab53
    • Senthil Kumaran's avatar
      Merged revisions 80959 via svnmerge from · eb7f2cdf
      Senthil Kumaran authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80959 | senthil.kumaran | 2010-05-08 10:42:05 +0530 (Sat, 08 May 2010) | 9 lines
      
        Merged revisions 80957 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines
      
          Fixing the errors trigerred in test_urllib2net. Related to issue8656.
        ........
      ................
      eb7f2cdf
    • Senthil Kumaran's avatar
      Merged revisions 80955 via svnmerge from · b140014e
      Senthil Kumaran authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80955 | senthil.kumaran | 2010-05-08 08:59:09 +0530 (Sat, 08 May 2010) | 9 lines
      
        Merged revisions 80953 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80953 | senthil.kumaran | 2010-05-08 08:41:50 +0530 (Sat, 08 May 2010) | 3 lines
      
          Fix Issue8656 - urllib2 mangles file://-scheme URLs
        ........
      ................
      b140014e
  3. 07 May, 2010 7 commits
  4. 06 May, 2010 8 commits
    • Benjamin Peterson's avatar
      Merged revisions 80897 via svnmerge from · 46a68356
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80897 | benjamin.peterson | 2010-05-06 18:03:05 -0500 (Thu, 06 May 2010) | 13 lines
      
        Merged revisions 80894,80896 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80894 | benjamin.peterson | 2010-05-06 17:33:46 -0500 (Thu, 06 May 2010) | 1 line
      
          Availability gets its own line
        ........
          r80896 | benjamin.peterson | 2010-05-06 17:49:28 -0500 (Thu, 06 May 2010) | 1 line
      
          ensure that availability information is on its own line at the end of the function docs
        ........
      ................
      46a68356
    • Victor Stinner's avatar
      Blocked revisions 80885 via svnmerge · fe82bf85
      Victor Stinner authored
      ........
        r80885 | victor.stinner | 2010-05-07 00:05:07 +0200 (ven., 07 mai 2010) | 7 lines
      
        Issue #8603: Create a bytes version of os.environ for Unix
      
        Create os.environb mapping and os.getenvb() function, os.unsetenv() encodes str
        argument to the file system encoding with the surrogateescape error handler
        (instead of utf8/strict) and accepts bytes, and posix.environ keys and values
        are bytes.
      ........
      fe82bf85
    • Giampaolo Rodolà's avatar
      Merged revisions 80876 via svnmerge from · 2700b1f4
      Giampaolo Rodolà authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80876 | giampaolo.rodola | 2010-05-06 20:06:30 +0200 (gio, 06 mag 2010) | 9 lines
      
        Merged revisions 80875 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80875 | giampaolo.rodola | 2010-05-06 19:57:06 +0200 (gio, 06 mag 2010) | 1 line
      
          Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__
        ........
      ................
      2700b1f4
    • Antoine Pitrou's avatar
      Issue #8629: Disable some test_ssl tests, since they give different · 22a99205
      Antoine Pitrou authored
      results with OpenSSL 1.0.0 and higher.
      22a99205
    • Brian Curtin's avatar
      Merged revisions 80859 via svnmerge from · 8976164d
      Brian Curtin authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80859 | brian.curtin | 2010-05-05 22:05:50 -0500 (Wed, 05 May 2010) | 12 lines
      
        Merged revisions 80857 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80857 | brian.curtin | 2010-05-05 21:54:44 -0500 (Wed, 05 May 2010) | 5 lines
      
          Fix #7863. Properly identify Windows 7 and Server 2008 R2.
      
          Removed various unused code and added a way to correctly determine
          server vs. workstation via the registry.
        ........
      ................
      8976164d
    • R. David Murray's avatar
      Merged revisions 79996,80855 via svnmerge from · 3632d51c
      R. David Murray authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r79996 | r.david.murray | 2010-04-12 10:48:58 -0400 (Mon, 12 Apr 2010) | 15 lines
      
        Merged revisions 79994 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r79994 | r.david.murray | 2010-04-12 10:26:06 -0400 (Mon, 12 Apr 2010) | 9 lines
      
          Issue #7472: ISO-2022 charsets now consistently use 7bit CTE.
      
          Fixed a typo in the email.encoders module so that messages output using
          an ISO-2022 character set will use a content-transfer-encoding of
          7bit consistently.  Previously if the input data had any eight bit
          characters the output data would get marked as 8bit even though it
          was actually 7bit.
        ........
      ................
        r80855 | r.david.murray | 2010-05-05 21:41:14 -0400 (Wed, 05 May 2010) | 24 lines
      
        Merged revisions 80800 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        It turns out that email5 (py3k), because it is using unicode for the
        payload, doesn't do the encoding to the output character set until later
        in the process.  Specifically, charset.body_encode no longer does the
        input-to-output charset conversion.  So the if test in the exception
        clause in encoders.encode_7or8bit really is needed in email5.
      
        So, this merge only merges the test, not the removal of the 'if'.
      
        ........
          r80800 | r.david.murray | 2010-05-05 13:31:03 -0400 (Wed, 05 May 2010) | 9 lines
      
          Issue #7472: remove unused code from email.encoders.encode_7or8bit.
      
          Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
          to special case iso-2022 codecs.  It turns out that the code in
          question is never used, because whereas it was designed to trigger
          if the payload encoding was eight bit but its output encoding was
          7 bit, in practice the payload is always converted to the 7bit
          encoding before encode_7or8bit is called.  Patch by Shawat Anand.
        ........
      ................
      3632d51c
    • R. David Murray's avatar
      Blocked revisions 80851 via svnmerge · 5ae0be38
      R. David Murray authored
      ................
        r80851 | r.david.murray | 2010-05-05 21:09:27 -0400 (Wed, 05 May 2010) | 11 lines
      
        Merged revisions 80849 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80849 | r.david.murray | 2010-05-05 20:59:04 -0400 (Wed, 05 May 2010) | 4 lines
      
          Have the serve.py script announce the directory it is
          serving and which port it is serving it on (I can
          never remember the default port number it uses...)
        ........
      ................
      5ae0be38
    • Victor Stinner's avatar
      Recorded merge of revisions 80846 via svnmerge from · 1008ab14
      Victor Stinner authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80846 | victor.stinner | 2010-05-06 02:08:46 +0200 (jeu., 06 mai 2010) | 20 lines
      
        Recorded merge of revisions 80844-80845 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80844 | victor.stinner | 2010-05-06 01:33:33 +0200 (jeu., 06 mai 2010) | 5 lines
      
          Untabify Modules/posixmodule.c
      
          Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some
          continuation lines).
        ........
          r80845 | victor.stinner | 2010-05-06 02:03:44 +0200 (jeu., 06 mai 2010) | 4 lines
      
          Untabify Modules/posixmodule.c (2)
      
          Fix some more functions by hand
        ........
      
        I rewrote the patch for py3k from scratch using untabify + manual editions
      ................
      1008ab14
  5. 05 May, 2010 9 commits
  6. 04 May, 2010 2 commits
    • Mark Dickinson's avatar
      Merged revisions 80764 via svnmerge from · 72f1a1c9
      Mark Dickinson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80764 | mark.dickinson | 2010-05-04 19:47:04 +0100 (Tue, 04 May 2010) | 10 lines
      
        Merged revisions 80762 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80762 | mark.dickinson | 2010-05-04 19:45:27 +0100 (Tue, 04 May 2010) | 3 lines
      
          Fix test_gzip failure on OS X.  The failure was a result of trying to fflush
          a file that wasn't open for writing.  Patch by Antoine Pitrou.
        ........
      ................
      72f1a1c9
    • Mark Dickinson's avatar
      Merged revisions 80755 via svnmerge from · 698dc834
      Mark Dickinson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r80755 | mark.dickinson | 2010-05-04 15:35:33 +0100 (Tue, 04 May 2010) | 17 lines
      
        Merged revisions 80753 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r80753 | mark.dickinson | 2010-05-04 15:25:50 +0100 (Tue, 04 May 2010) | 10 lines
      
          Issue #8567: Fix incorrect precedence of signals in Decimal module.
      
          When a Decimal operation raises multiple signals and more than one of
          those signals is trapped, the specification determines the order in
          which the signals should be handled.  In many cases this order wasn't
          being followed, leading to the wrong Python exception being raised.
          This commit fixes those cases, and adds extra tests.  The tests are
          only enabled when EXTENDEDERRORTESTS is True, since they involve
          rerunning each Decimal testcase several times.
        ........
      ................
      698dc834
  7. 03 May, 2010 4 commits