summaryrefslogtreecommitdiff
path: root/Lib/posixpath.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-09-17 23:35:50 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-09-17 23:35:50 +0000
commit8fc843b38ea7ce00fc01dd97ded85b401e1db103 (patch)
tree78203038e313d864fee361168c017d4e355ef378 /Lib/posixpath.py
parent9c379bbadd7b7cb292fa8ae0a2ad22dd80518b27 (diff)
downloadcpython-git-8fc843b38ea7ce00fc01dd97ded85b401e1db103.tar.gz
Merged revisions 84866 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84866 | victor.stinner | 2010-09-18 01:34:26 +0200 (sam., 18 sept. 2010) | 4 lines Issue #767645: Set os.path.supports_unicode_filenames to True in posixpath Previous commit changed macpath but macpath is not used anymore as os.path ........
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r--Lib/posixpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index b01c3cb908..128a533a21 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -394,7 +394,7 @@ def _resolve_link(path):
path = normpath(resolved)
return path
-supports_unicode_filenames = False
+supports_unicode_filenames = (sys.platform == 'darwin')
def relpath(path, start=curdir):
"""Return a relative version of a path"""