[issue39090] Document various options for getting the absolute path from pathlib.Path objects

Vedran Čačić report at bugs.python.org
Fri Apr 1 02:33:14 EDT 2022


Vedran Čačić <vedgar at gmail.com> added the comment:

> First, I hope we all agree:
> 'C:\Windows\..\Program Files' and '/usr/../bin' == relative path

I don't agree. To me, absolute means regardless of a reference point. So, absolute path would be a path that refers to the same entity from whichever directory you reference it. And that is surely the case for these two.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39090>
_______________________________________


More information about the Python-bugs-list mailing list