diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-13 20:31:34 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-13 20:31:34 (GMT) |
commit | 46287f551ba1add60dba03fc1ad67a51165ed0f6 (patch) | |
tree | 322874b03b5e330fc0724103df69340a06df8a9d /Lib/macpath.py | |
parent | 93ae8a613001f15004429936174245fc455138f3 (diff) | |
download | cpython-46287f551ba1add60dba03fc1ad67a51165ed0f6.zip cpython-46287f551ba1add60dba03fc1ad67a51165ed0f6.tar.gz cpython-46287f551ba1add60dba03fc1ad67a51165ed0f6.tar.bz2 |
Merged revisions 84701,84784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84701 | victor.stinner | 2010-09-11 02:22:12 +0200 (sam., 11 sept. 2010) | 5 lines
Issue #767645: fix os.path.supports_unicode_filenames definition
os.listdir(str) always returns unicode and it can return non-ascii filenames
even if supports_unicode_filenames is False.
........
r84784 | victor.stinner | 2010-09-13 21:41:36 +0200 (lun., 13 sept. 2010) | 2 lines
Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X
(macpath module).
........
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index b22759e..cd4cb85 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -212,4 +212,4 @@ def realpath(path): pass return path -supports_unicode_filenames = False +supports_unicode_filenames = True |