gh-81793: always call linkat() from os.link(), if available by takluyver · Pull Request #24997 · python/cpython
and others added 3 commits
The issue with link() is that POSIX does not define its behavior regarding symbolic links: "If path1 names a symbolic link, it is implementation-defined whether link() follows the symbolic link, or creates a new link to the symbolic link itself." And it is indeed implemented differently on Linux and NetBSD.
picnixz
changed the title
bpo-37612: always call linkat() from os.link(), if available
gh-81793: always call linkat() from os.link(), if available
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters