[issue44452] Allow paths to be joined without worrying about a leading slash
lutecki
report at bugs.python.org
Fri Nov 26 12:38:36 EST 2021
lutecki <lukasz.matecki at gmail.com> added the comment:
So how this should work?
I'm testing this simple example on Windows:
a = Path("/a/b")
b = Path("c/d")
and b / a gives me WindowsPath('/a/b'). So I'm like "ok, a seems like absolute, I will test for that" but on Windows a.is_absolute() is False.
???
Regards
----------
nosy: +lutecki
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44452>
_______________________________________
More information about the Python-bugs-list
mailing list