SIGN IN SIGN UP

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.
B
Barney Gale committed
f09d184821efd9438d092643881e28bdf8de4de5
Parent: 0898354
Committed by GitHub <noreply@github.com> on 7/3/2024, 3:30:29 AM