-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Open
Labels
OS-windowsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Summary
Fix pathlib.Path.copy()
failing on Windows when copying files that require elevated privileges (e.g., hidden or system files) by adding a fallback mechanism when copyfile2
encounters privilege-related errors.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-windowsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement