]> granicus.if.org Git - python/commit
bug #990669: os.path.realpath() will resolve symlinks before normalizing the
authorJohannes Gijsbers <jlg@dds.nl>
Sat, 14 Aug 2004 15:01:53 +0000 (15:01 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Sat, 14 Aug 2004 15:01:53 +0000 (15:01 +0000)
commit4ec40648a56b661ca78f795aa0718836b6020e1b
tree8721483a04fbf218e56ca7299cd9eb5a9a50f7dc
parentf9a098efe1dcfba59d8bf2026892ee65454c29b6
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.
Lib/posixpath.py
Lib/test/test_posixpath.py
Misc/NEWS