summaryrefslogtreecommitdiffstats
path: root/Lib/posixpath.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-09-17 23:34:26 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-09-17 23:34:26 (GMT)
commite797c16f8442bc65229a7fb28f69256ccc2d7372 (patch)
tree000a50a0876222954234d727a143b5c3e02cb46c /Lib/posixpath.py
parentd61d077bf57796555f0d8747718f60b35f136d6b (diff)
downloadcpython-e797c16f8442bc65229a7fb28f69256ccc2d7372.zip
cpython-e797c16f8442bc65229a7fb28f69256ccc2d7372.tar.gz
cpython-e797c16f8442bc65229a7fb28f69256ccc2d7372.tar.bz2
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 e9f4251..37da71e 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -427,7 +427,7 @@ def _resolve_link(path):
path = normpath(resolved)
return path
-supports_unicode_filenames = False
+supports_unicode_filenames = (sys.platform == 'darwin')
def relpath(path, start=None):
"""Return a relative version of a path"""