Commit 43de45f0 authored by Just van Rossum's avatar Just van Rossum

[ 767645 ] correctly set the os.path.supports_unicode_filenames flag for OSX

parent b0a8a619
......@@ -10,6 +10,7 @@ Some of this can actually be useful on non-Posix systems too, e.g.
for manipulation of the pathname component of URLs.
"""
import sys
import os
import stat
......@@ -416,4 +417,7 @@ symbolic links encountered in the path."""
return filename
supports_unicode_filenames = False
if sys.platform == "darwin":
supports_unicode_filenames = True
else:
supports_unicode_filenames = False
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment