You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
pykong
changed the title
Feature request: Accept Path as
Feature request: Accept Path as arguments
Feb 25, 2020
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 stinkinos.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.The text was updated successfully, but these errors were encountered: