Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ccb706c

Browse files
author
Victor Stinner
committed
Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X
(macpath module).
1 parent d8642c3 commit ccb706c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Lib/macpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,4 @@ def realpath(path):
202202
pass
203203
return path
204204

205-
supports_unicode_filenames = False
205+
supports_unicode_filenames = True

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Core and Builtins
4040
Library
4141
-------
4242

43+
- Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X
44+
(macpath module).
45+
4346
- Issue #9837: The read() method of ZipExtFile objects (as returned by
4447
ZipFile.open()) could return more bytes than requested.
4548

0 commit comments

Comments
 (0)