[Python-checkins] peps: Mention that resolve() canonicalizes the path under Windows
antoine.pitrou
python-checkins at python.org
Mon Nov 18 21:48:54 CET 2013
http://hg.python.org/peps/rev/97e81c1494aa
changeset: 5286:97e81c1494aa
user: Antoine Pitrou <solipsis at pitrou.net>
date: Mon Nov 18 21:48:50 2013 +0100
summary:
Mention that resolve() canonicalizes the path under Windows
files:
pep-0428.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pep-0428.txt b/pep-0428.txt
--- a/pep-0428.txt
+++ b/pep-0428.txt
@@ -600,7 +600,8 @@
The ``resolve()`` method makes a path absolute, resolving any symlink on
the way (like the POSIX realpath() call). It is the only operation which
-will remove "``..``" path components.
+will remove "``..``" path components. On Windows, this method will also
+take care to return the canonical path (with the right casing).
Directory walking
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list