-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Open
Labels
OS-windowsperformancePerformance or resource usagePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
The Windows-only IFileOperation
API allows us to copy, move and delete files and directories using the same code as explorer.exe. We could use this to provide pathlib.Path.copy()
, move()
and _delete()
- it should be much faster, and in the case of _delete()
it would work around #84324
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Metadata
Metadata
Assignees
Labels
OS-windowsperformancePerformance or resource usagePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement