summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2004-08-14 15:01:53 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2004-08-14 15:01:53 (GMT)
commit4ec40648a56b661ca78f795aa0718836b6020e1b (patch)
tree8721483a04fbf218e56ca7299cd9eb5a9a50f7dc /Misc
parentf9a098efe1dcfba59d8bf2026892ee65454c29b6 (diff)
downloadcpython-4ec40648a56b661ca78f795aa0718836b6020e1b.zip
cpython-4ec40648a56b661ca78f795aa0718836b6020e1b.tar.gz
cpython-4ec40648a56b661ca78f795aa0718836b6020e1b.tar.bz2
bug #990669: os.path.realpath() will resolve symlinks before normalizing the
path, as normalizing the path may alter the meaning of the path if it contains symlinks. Also add tests for infinite symlink loops and parent symlinks that need to be resolved.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 04ab6dd..ab83648 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -41,6 +41,10 @@ Extension modules
Library
-------
+- bug #990669: os.path.realpath() will resolve symlinks before normalizing the
+ path, as normalizing the path may alter the meaning of the path if it
+ contains symlinks.
+
- bug #851123: shutil.copyfile will raise an exception when trying to copy a
file onto a link to itself. Thanks Gregory Ball.
@@ -77,7 +81,7 @@ C API
Documentation
-------------
-- bug 990669: os.path.normpath may alter the meaning of a path if it contains
+- 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.