summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libos.tex9
-rw-r--r--Misc/NEWS2
2 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 5cbeeeb..afbea54 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -635,6 +635,12 @@ Return a string representing the current working directory.
Availability: Macintosh, \UNIX, Windows.
\end{funcdesc}
+\begin{funcdesc}{getcwdu}{}
+Return a Unicode object representing the current working directory.
+Availability: \UNIX, Windows.
+\versionadded{2.3}
+\end{funcdesc}
+
\begin{funcdesc}{chroot}{path}
Change the root directory of the current process to \var{path}.
Availability: \UNIX.
@@ -670,6 +676,9 @@ The list is in arbitrary order. It does not include the special
entries \code{'.'} and \code{'..'} even if they are present in the
directory.
Availability: Macintosh, \UNIX, Windows.
+
+\versionadded[On Windows NT/2k/XP, if \var{path} is a Unicode object,
+the result will be a list of Unicode objects.]{2.3}
\end{funcdesc}
\begin{funcdesc}{lstat}{path}
diff --git a/Misc/NEWS b/Misc/NEWS
index da2c81c..dbd718b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -66,6 +66,8 @@ Type/class unification and new-style classes
Core and builtins
-----------------
+- Unicode file name processing for Windows (PEP 277) is implemented.
+
- Codec error handling callbacks (PEP 293) are implemented.
Error handling in unicode.encode or str.decode can now be customized.