]> granicus.if.org Git - python/commitdiff
bug 990669: os.path.normpath may alter the meaning of a path if it contains
authorJohannes Gijsbers <jlg@dds.nl>
Sat, 14 Aug 2004 14:41:32 +0000 (14:41 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Sat, 14 Aug 2004 14:41:32 +0000 (14:41 +0000)
symbolic links. This has been documented in a comment since 1992, but is now in
the library reference as well.

Doc/lib/libposixpath.tex
Misc/NEWS

index aa790e7693b65b518b6c3b2994d4074384e94a1f..e79df3e744416844efc8c9c949b9e9f493b166fd 100644 (file)
@@ -154,7 +154,8 @@ Normalize a pathname.  This collapses redundant separators and
 up-level references, e.g. \code{A//B}, \code{A/./B} and
 \code{A/foo/../B} all become \code{A/B}.  It does not normalize the
 case (use \function{normcase()} for that).  On Windows, it converts
-forward slashes to backward slashes.
+forward slashes to backward slashes. It should be understood that this may
+change the meaning of the path if it contains symbolic links! 
 \end{funcdesc}
 
 \begin{funcdesc}{realpath}{path}
index cebee3e012885aba42306583f7dddb11da04c027..04ab6dd6a4728a223e5db85b8f0fb61a0365483e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -77,6 +77,10 @@ C API
 Documentation
 -------------
 
+- bug 990669: os.path.normpath may alter the meaning of a path if it contains
+symbolic links. This has been documented in a comment since 1992, but is now in
+the library reference as well.
+
 New platforms
 -------------