Skip to content

Deprecate non-pathlib keyword arguments in all methods other than open #480

@ap--

Description

@ap--

We should remove non pathlib keyword args in UPath methods.

The one that can stay is probably open for convenience.

It's basically rmdir and rename.

we can recommend move and move_into as a recursive official replacement for rename, and it looks like .delete could become a thing in official pathlib for recursive delete. https://github.com/python/cpython/blob/48b7d75aaf0206c80813c3325fd4021cd6b99e2b/Lib/pathlib/__init__.py#L1053-L1064

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions