diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-07-03 03:30:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 03:30:29 (GMT) |
commit | f09d184821efd9438d092643881e28bdf8de4de5 (patch) | |
tree | 1aa17585a9a686154135ef1f9305c0a4a5984234 /Python/dynload_shlib.c | |
parent | 089835469d5efbea4793cd611b43cb8387f2e7e5 (diff) | |
download | cpython-f09d184821efd9438d092643881e28bdf8de4de5.zip cpython-f09d184821efd9438d092643881e28bdf8de4de5.tar.gz cpython-f09d184821efd9438d092643881e28bdf8de4de5.tar.bz2 |
GH-73991: Support copying directory symlinks on older Windows (#120807)
Check for `ERROR_INVALID_PARAMETER` when calling `_winapi.CopyFile2()` and
raise `UnsupportedOperation`. In `Path.copy()`, handle this exception and
fall back to the `PathBase.copy()` implementation.
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions