furl
furl copied to clipboard
furl.path object is NOT of type: pathlib.Path
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.
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.