]> granicus.if.org Git - python/commit
Merged revisions 81170 via svnmerge from
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 14 May 2010 16:39:10 +0000 (16:39 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 14 May 2010 16:39:10 +0000 (16:39 +0000)
commit26a968d8feceb1a331b800d3e0c0e28a164b9971
treeb6262d12be36c209981545603da8aae9d3799d9a
parent9076f9e187c4a0620b52bff7f3c4659647141783
Merged revisions 81170 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81170 | victor.stinner | 2010-05-14 18:35:39 +0200 (ven., 14 mai 2010) | 6 lines

  posix_listdir(), posix_readlink(): avoid temporary PyBytes object

  Use directly PyUnicode_DecodeFSDefaultAndSize() instead of
  PyBytes_FromStringAndSize() + PyUnicode_FromEncodedObject() if the argument is
  unicode.
........
Modules/posixmodule.c