1. 11 Jun, 2010 13 commits
    • Victor Stinner's avatar
      Blocked revisions 81927 via svnmerge · c85725d1
      Victor Stinner authored
      ........
        r81927 | victor.stinner | 2010-06-12 01:56:51 +0200 (sam., 12 juin 2010) | 3 lines
      
        Issue #8969: On Windows, use mbcs codec in strict mode to encode and decode
        filenames and enable os.fsencode().
      ........
      c85725d1
    • Victor Stinner's avatar
      Blocked revisions 81925 via svnmerge · ee17defd
      Victor Stinner authored
      ........
        r81925 | victor.stinner | 2010-06-12 01:46:47 +0200 (sam., 12 juin 2010) | 4 lines
      
        Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.
      
        Note: file system encoding cannot be None anymore (since r81190, issue #8610).
      ........
      ee17defd
    • Victor Stinner's avatar
      Merged revisions 81923 via svnmerge from · 231d5784
      Victor Stinner authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r81923 | victor.stinner | 2010-06-12 01:30:12 +0200 (sam., 12 juin 2010) | 16 lines
      
        Fix some bugs in c-api/arg.rst documentation
      
         * replace "the default encoding" by "'utf-8' encoding"
         * fix "w" / "w*" / "w#" doc: similar to "y" / "y*" / "y#"
           and not "s" / "s*" / "s#"
         * "u#": remove "Non-Unicode objects are handled by interpreting their
           read-buffer pointer ...", it's no more true
         * "es", "es#": remove "... and objects convertible to Unicode into a character
           buffer", it's no more true
         * Py_BuildValue(), "K" and "L" formats: specify the name of the C type on
           Windows (_int64 / unsigned _int64) as done for PyArg_Parse*() long long
           types
        --CETTE ligne, et les suivantes ci-dessous, seront ignorées--
      
        M    Doc/c-api/arg.rst
      ........
      231d5784
    • Victor Stinner's avatar
      Blocked revisions 81918 via svnmerge · 20bc6a95
      Victor Stinner authored
      ........
        r81918 | victor.stinner | 2010-06-12 00:27:14 +0200 (sam., 12 juin 2010) | 2 lines
      
        readline: use PyUnicode_FSConverter() to parse filenames
      ........
      20bc6a95
    • Victor Stinner's avatar
      Backport test_getfilesystemencoding() from py3k · af6c7d71
      Victor Stinner authored
      Note: On Python 3.1, file system encoding can be None.
      af6c7d71
    • Victor Stinner's avatar
      Blocked revisions 81916 via svnmerge · cd097d7c
      Victor Stinner authored
      ........
        r81916 | victor.stinner | 2010-06-12 00:17:52 +0200 (sam., 12 juin 2010) | 2 lines
      
        Issue #8965: Add a regression test to test_sys with LANG=C
      ........
      cd097d7c
    • Victor Stinner's avatar
      Blocked revisions 81914 via svnmerge · e3700acb
      Victor Stinner authored
      ........
        r81914 | victor.stinner | 2010-06-12 00:09:51 +0200 (sam., 12 juin 2010) | 2 lines
      
        locale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filename
      ........
      e3700acb
    • Victor Stinner's avatar
      Blocked revisions 81911 via svnmerge · 8f8444e1
      Victor Stinner authored
      ........
        r81911 | victor.stinner | 2010-06-11 23:50:30 +0200 (ven., 11 juin 2010) | 3 lines
      
        Issue #8966: If a ctypes structure field is an array of c_char, convert its
        value to bytes instead of str (as done for c_char and c_char_p).
      ........
      8f8444e1
    • Antoine Pitrou's avatar
      Merged revisions 81908 via svnmerge from · 48f3ec82
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r81908 | antoine.pitrou | 2010-06-11 23:46:32 +0200 (ven., 11 juin 2010) | 11 lines
      
        Merged revisions 81907 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines
      
          Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash
          the interpreter with characters outside the Basic Multilingual Plane
          (higher than 0x10000).
        ........
      ................
      48f3ec82
    • Mark Dickinson's avatar
      Merged revisions 81897-81898,81902 via svnmerge from · 09131f9d
      Mark Dickinson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r81897 | mark.dickinson | 2010-06-11 17:56:34 +0100 (Fri, 11 Jun 2010) | 1 line
      
        Avoid possible undefined behaviour from signed overflow.
      ........
        r81898 | mark.dickinson | 2010-06-11 20:05:08 +0100 (Fri, 11 Jun 2010) | 1 line
      
        Fix an incorrect return type.
      ........
        r81902 | mark.dickinson | 2010-06-11 20:50:30 +0100 (Fri, 11 Jun 2010) | 1 line
      
        Fix more undefined-behaviour inducing overflow checks in struct module.
      ........
      09131f9d
    • Ezio Melotti's avatar
      Merged revisions 81891 via svnmerge from · e6661d4d
      Ezio Melotti authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r81891 | ezio.melotti | 2010-06-11 05:26:42 +0300 (Fri, 11 Jun 2010) | 9 lines
      
        Merged revisions 81889 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line
      
          Remove extra ] from itertools.count docstring.
        ........
      ................
      e6661d4d
    • Victor Stinner's avatar
      Blocked revisions 81885 via svnmerge · 7d7d107f
      Victor Stinner authored
      ........
        r81885 | victor.stinner | 2010-06-11 02:41:41 +0200 (ven., 11 juin 2010) | 2 lines
      
        test_sys: add a test on the file system encoding for darwin
      ........
      7d7d107f
    • Victor Stinner's avatar
      Blocked revisions 81883 via svnmerge · 86b5be26
      Victor Stinner authored
      ........
        r81883 | victor.stinner | 2010-06-11 02:36:33 +0200 (ven., 11 juin 2010) | 5 lines
      
        Issue #8965: initfsencoding() doesn't change the encoding on Mac OS X
      
        File system encoding have to be hardcoded to "utf-8" on Mac OS X. r81190
        introduced a regression: the encoding was changed depending on the locale.
      ........
      86b5be26
  2. 10 Jun, 2010 2 commits
    • Victor Stinner's avatar
      Blocked revisions 81871 via svnmerge · 4b656ef2
      Victor Stinner authored
      ........
        r81871 | victor.stinner | 2010-06-10 15:36:23 +0200 (jeu., 10 juin 2010) | 4 lines
      
        Fix r81869: ISO-8859-15 was seen as an alias to ISO-8859-1
      
        Don't use normalize_encoding() result if it is truncated.
      ........
      4b656ef2
    • Victor Stinner's avatar
      Blocked revisions 81869 via svnmerge · e7fa2136
      Victor Stinner authored
      ........
        r81869 | victor.stinner | 2010-06-10 14:00:55 +0200 (jeu., 10 juin 2010) | 4 lines
      
        Issue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() to
        enable shortcuts for upper case encoding name. Add also a shortcut for
        "iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode().
      ........
      e7fa2136
  3. 09 Jun, 2010 3 commits
  4. 08 Jun, 2010 9 commits
  5. 07 Jun, 2010 3 commits
  6. 06 Jun, 2010 4 commits
  7. 04 Jun, 2010 4 commits
  8. 03 Jun, 2010 2 commits
    • Ronald Oussoren's avatar
      Merged revisions 81673 via svnmerge from · 3bfada02
      Ronald Oussoren authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r81673 | ronald.oussoren | 2010-06-03 16:42:25 +0200 (Thu, 03 Jun 2010) | 16 lines
      
        Merged revisions 81662 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r81662 | ronald.oussoren | 2010-06-03 11:47:21 +0200 (Thu, 03 Jun 2010) | 9 lines
      
          Fix for issue #7724: ensure that distutils and python's own setup.py
          honor the MacOSX SDK when one is specified.
      
          This is needed to be able to build using the 10.4u SDK while running
          on OSX 10.6.
      
          This is a fixed version of the patch in r80963, I've tested this patch
          on OSX and Linux.
        ........
      ................
      3bfada02
    • Lars Gustäbel's avatar
      Blocked revisions 81670 via svnmerge · 1ca555fa
      Lars Gustäbel authored
      ................
        r81670 | lars.gustaebel | 2010-06-03 14:45:16 +0200 (Thu, 03 Jun 2010) | 14 lines
      
        Merged revisions 81667 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r81667 | lars.gustaebel | 2010-06-03 14:34:14 +0200 (Thu, 03 Jun 2010) | 8 lines
      
          Issue #8741: Fixed the TarFile.makelink() method that is responsible
          for extracting symbolic and hard link entries as regular files as a
          work-around on platforms that do not support filesystem links.
      
          This stopped working reliably after a change in r74571. I also added
          a few tests for this functionality.
        ........
      ................
      1ca555fa