Skip to content

Feature request: Accept Path as arguments #33

@pykong

Description

@pykong

We write the year 2020: Pythonistas have largely adopted the use of the pathlib module as a more convenient way to perform file system operation that old stinkin os.path and its comrades.

Hence it would be great if all of pathspec function would accept Path objects or iterables thereof as arguments, compared to plain strings.

Putting a conversion to a string via str(my_path) at the right places is all it takes to make it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions