]> granicus.if.org Git - python/commitdiff
#2856: document 2.x os.listdir() behavior for undecodable filenames.
authorGeorg Brandl <georg@python.org>
Sat, 16 May 2009 11:21:29 +0000 (11:21 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 16 May 2009 11:21:29 +0000 (11:21 +0000)
Doc/library/os.rst

index 061f1ce408f824c47767a4467bf9151dba12167e..1109a1d0970e495d0e6ade6a46e516b17cef49b5 100644 (file)
@@ -930,7 +930,8 @@ Files and Directories
 
    .. versionchanged:: 2.3
       On Windows NT/2k/XP and Unix, if *path* is a Unicode object, the result will be
-      a list of Unicode objects.
+      a list of Unicode objects. Undecodable filenames will still be returned as
+      string objects.
 
 
 .. function:: lstat(path)