From: Victor Stinner Date: Sat, 11 Sep 2010 00:23:53 +0000 (+0000) Subject: Merged revisions 84701 via svnmerge from X-Git-Tag: v3.1.3rc1~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a76020a5446939dd80cb376c6ea0ada4cfab0211;p=python Merged revisions 84701 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84701 | victor.stinner | 2010-09-11 02:22:12 +0200 (sam., 11 sept. 2010) | 5 lines Issue #767645: fix os.path.supports_unicode_filenames definition os.listdir(str) always returns unicode and it can return non-ascii filenames even if supports_unicode_filenames is False. ........ --- diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst index d63946ecb8..9f71de6685 100644 --- a/Doc/library/os.path.rst +++ b/Doc/library/os.path.rst @@ -308,5 +308,4 @@ applications should use string objects to access all files. .. 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 strings that - contain characters that cannot be represented by ASCII. + imposed by the file system).