summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2004-08-14 14:41:32 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2004-08-14 14:41:32 (GMT)
commitb112d6ed78327404d5cb5d3f4ee6ffb7db70d695 (patch)
treee370843816570bb7d4f6452b1b9081926cf0b097
parent9d134b7386933da18abd0c24c5c783d80fd66011 (diff)
downloadcpython-b112d6ed78327404d5cb5d3f4ee6ffb7db70d695.zip
cpython-b112d6ed78327404d5cb5d3f4ee6ffb7db70d695.tar.gz
cpython-b112d6ed78327404d5cb5d3f4ee6ffb7db70d695.tar.bz2
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.
-rw-r--r--Doc/lib/libposixpath.tex3
-rw-r--r--Misc/NEWS4
2 files changed, 6 insertions, 1 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index aa790e7..e79df3e 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -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}
diff --git a/Misc/NEWS b/Misc/NEWS
index cebee3e..04ab6dd 100644
--- 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
-------------