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
This commit is contained in:
parent
d61d077bf5
commit
e797c16f84
@ -427,7 +427,7 @@ def _resolve_link(path):
|
|||||||
path = normpath(resolved)
|
path = normpath(resolved)
|
||||||
return path
|
return path
|
||||||
|
|
||||||
supports_unicode_filenames = False
|
supports_unicode_filenames = (sys.platform == 'darwin')
|
||||||
|
|
||||||
def relpath(path, start=None):
|
def relpath(path, start=None):
|
||||||
"""Return a relative version of a path"""
|
"""Return a relative version of a path"""
|
||||||
|
@ -74,8 +74,7 @@ Library
|
|||||||
|
|
||||||
- logging: Enhanced HTTPHandler with secure and credentials initializers.
|
- logging: Enhanced HTTPHandler with secure and credentials initializers.
|
||||||
|
|
||||||
- Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X
|
- 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
|
- Issue #9837: The read() method of ZipExtFile objects (as returned by
|
||||||
ZipFile.open()) could return more bytes than requested.
|
ZipFile.open()) could return more bytes than requested.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user