furl icon indicating copy to clipboard operation
furl copied to clipboard

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

Open cmurphy208 opened this issue 3 years ago • 1 comments

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.

cmurphy208 avatar Aug 31 '22 11:08 cmurphy208

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.

flbraun avatar Nov 11 '22 10:11 flbraun