Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

furl.path object is NOT of type: pathlib.Path #160

Open
cmurphy208 opened this issue Aug 31, 2022 · 1 comment
Open

furl.path object is NOT of type: pathlib.Path #160

cmurphy208 opened this issue Aug 31, 2022 · 1 comment

Comments

@cmurphy208
Copy link

While I am able to work around this practically, I am wondering why the standard pathlib.Path object was not used to represent furl.path. If it were so, it would more neatly integrate with standard python recipes.

@flbraun
Copy link

flbraun commented Nov 11, 2022

pathlib was introduced in Python 3.4, but furl still officially supports Python 2.7, so it cannot be used without breaking compatibility.
Also, pathlib is meant for representing filesystem paths, not URL paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants