summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-02-25 21:42:15 (GMT)
committerJust van Rossum <just@letterror.com>2003-02-25 21:42:15 (GMT)
commit46c9784f68a8dbb4f13fa86ac780c45a4363b8a8 (patch)
treec52f1d1b5b66057eb089165f4639dc0038ac17a0 /Misc
parent49833313855e1c7aec9c6654e81c416329298a49 (diff)
downloadcpython-46c9784f68a8dbb4f13fa86ac780c45a4363b8a8.zip
cpython-46c9784f68a8dbb4f13fa86ac780c45a4363b8a8.tar.gz
cpython-46c9784f68a8dbb4f13fa86ac780c45a4363b8a8.tar.bz2
Patch #683592: unicode support for os.listdir()
os.listdir() may now return unicode strings on platforms that set Py_FileSystemDefaultEncoding.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS9
1 files changed, 8 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index fa7ef5e..750b2c3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -25,7 +25,11 @@ Extension modules
Library
-------
-TBD
+- os.listdir() now returns Unicode strings on platforms that set
+ Py_FileSystemDefaultEncoding, for file names that are not representable
+ in ASCII. (This currently only affects MacOS X; on Windows versions
+ with wide file name support os.listdir() already returned Unicode
+ strings.)
Tools/Demos
-----------
@@ -61,6 +65,9 @@ TBD
Mac
---
+- os.listdir() now may return Unicode strings on MacOS X. See the general
+ news item under "Library".
+
- A new method MacOS.WMAvailable() returns true if it is safe to access
the window manager, false otherwise.