[issue44452] Allow paths to be joined without worrying about a leading slash
Sylvain Marie
report at bugs.python.org
Fri Sep 10 04:38:22 EDT 2021
Sylvain Marie <sylvain.marie at schneider-electric.com> added the comment:
+1 on this, I am totally in line with the original post.
The / operator semantics should not imply any notion of drive or of "cd" command on a shell. It should simply stick to "concatenate", i.e. "create child path" (and actually this is what the doc states https://docs.python.org/3/library/pathlib.html#operators )
Thanks Zbyszek for putting this on the table !
----------
nosy: +smarie
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44452>
_______________________________________
More information about the Python-bugs-list
mailing list