]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH...
authorBarney Gale <barney.gale@gmail.com>
Wed, 28 Apr 2021 15:50:17 +0000 (16:50 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Apr 2021 15:50:17 +0000 (16:50 +0100)
commitbaecfbd849dbf42360d3a84af6cc13160838f24d
tree5d82a6504cd2859197e1bcd81ceaecef035a6aad
parent859577c24981d6b36960d309f99f7fc810fe75c2
bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264)

Also adds a new "strict" argument to realpath() to avoid changing the default behaviour of pathlib while sharing the implementation.
Doc/library/os.path.rst
Lib/ntpath.py
Lib/pathlib.py
Lib/posixpath.py
Lib/test/test_ntpath.py
Lib/test/test_posixpath.py
Misc/NEWS.d/next/Library/2021-04-08-22-11-27.bpo-25264.b33fa0.rst [new file with mode: 0644]