Index: Misc/NEWS =================================================================== --- Misc/NEWS (révision 84799) +++ Misc/NEWS (copie de travail) @@ -57,8 +57,7 @@ - logging: Enhanced HTTPHandler with secure and credentials initializers. -- Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X - (macpath module). +- Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X. - Issue #9837: The read() method of ZipExtFile objects (as returned by ZipFile.open()) could return more bytes than requested. Index: Lib/posixpath.py =================================================================== --- Lib/posixpath.py (révision 84799) +++ Lib/posixpath.py (copie de travail) @@ -427,7 +427,7 @@ 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"""