summaryrefslogtreecommitdiffstats
path: root/Python/pystrhex.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-07-03 03:30:29 (GMT)
committerGitHub <noreply@github.com>2024-07-03 03:30:29 (GMT)
commitf09d184821efd9438d092643881e28bdf8de4de5 (patch)
tree1aa17585a9a686154135ef1f9305c0a4a5984234 /Python/pystrhex.c
parent089835469d5efbea4793cd611b43cb8387f2e7e5 (diff)
downloadcpython-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/pystrhex.c')
0 files changed, 0 insertions, 0 deletions