diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-23 10:53:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-23 10:53:48 (GMT) |
commit | 80b2bad2c2c4e34ee6bd8e6f1f9360f97aed6551 (patch) | |
tree | 1b7e6af21d25b0cabeb7beff843f86c3923471fd /Python/Python-ast.c | |
parent | 0bd134d15f48dc5e284f13f1545548cabf50c792 (diff) | |
download | cpython-80b2bad2c2c4e34ee6bd8e6f1f9360f97aed6551.zip cpython-80b2bad2c2c4e34ee6bd8e6f1f9360f97aed6551.tar.gz cpython-80b2bad2c2c4e34ee6bd8e6f1f9360f97aed6551.tar.bz2 |
[3.11] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285) (GH-113426)
Previously they worked differenly if dst is a symbolic link:
they modified the permission bits of dst itself rather than the file
it points to if follow_symlinks is true or src is not a symbolic link,
and did nothing if follow_symlinks is false and src is a symbolic link.
(cherry picked from commit c7874bb56f862dd96a9a74b809dbea5688fa6c1c)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions