Skip to content

Use Windows IFileOperation to implement copying/moving/deleting in pathlib #131262

Open
@barneygale

Description

@barneygale

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

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions