[issue11378] os.path.join when second argument starts with '/' (linux/unix)

Daniel Urban report at bugs.python.org
Wed Mar 2 18:56:50 CET 2011


Daniel Urban <urban.dani+py at gmail.com> added the comment:

It does exactly what is documented: "If any component is an absolute path, all previous components (on Windows, including the previous drive letter, if there was one) are thrown away, and joining continues." (http://docs.python.org/dev/py3k/library/os.path#os.path.join)

----------
nosy: +durban

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11378>
_______________________________________


More information about the Python-bugs-list mailing list