aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-05-04 17:24:10 +0300
committerGitHub <noreply@github.com>2025-05-04 17:24:10 +0300
commit5a57248b22ad3b9aafcaaadae2c304a1923daeca (patch)
tree473d9a8cefc0069b2e59c93fc67cf924dba3e381 /Python/formatter_unicode.c
parente9253ebf74433de5ae6d7f1bce693a3a1173b3b1 (diff)
downloadcpython-5a57248b22ad3b9aafcaaadae2c304a1923daeca.tar.gz
cpython-5a57248b22ad3b9aafcaaadae2c304a1923daeca.zip
gh-81793: Always call linkat() from os.link(), if available (GH-132517)
This fixes os.link() on platforms (like Linux and OpenIndiana) where the system link() function does not follow symlinks. * On Linux, it now follows symlinks by default and if follow_symlinks=True is specified. * On Windows, it now raises error if follow_symlinks=True is passed. * On macOS, it now raises error if follow_symlinks=False is passed and the system linkat() function is not available at runtime. * On other platforms, it now raises error if follow_symlinks is passed with a value that does not match the system link() function behavior if if the behavior is not known. Co-authored-by: Joachim Henke <37883863+jo-he@users.noreply.github.com> Co-authored-by: Thomas Kluyver <takowl@gmail.com>
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions