diff options
-rw-r--r-- | Doc/library/os.path.rst | 3 | ||||
-rw-r--r-- | Lib/macpath.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst index ae55dd822d..aebde0c910 100644 --- a/Doc/library/os.path.rst +++ b/Doc/library/os.path.rst @@ -337,8 +337,7 @@ write files see :func:`open`, and for accessing the filesystem see the .. data:: supports_unicode_filenames True if arbitrary Unicode strings can be used as file names (within limitations - imposed by the file system), and if :func:`os.listdir` returns Unicode strings - for a Unicode argument. + imposed by the file system). .. versionadded:: 2.3 diff --git a/Lib/macpath.py b/Lib/macpath.py index b22759efc3..cd4cb8581a 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 @@ -43,6 +43,9 @@ Core and Builtins Library ------- +- Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X + (macpath module). + - Issue #9837: The read() method of ZipExtFile objects (as returned by ZipFile.open()) could return more bytes than requested. |