[issue23535] os.path.join() wrong concatenation of "C:" on Windows

Ben Hoyt report at bugs.python.org
Fri Feb 27 14:01:51 CET 2015


Ben Hoyt added the comment:

Sorry, but this is operating as designed and documented. See the docs here: https://docs.python.org/3.4/library/os.path.html#os.path.join

"On Windows ... since there is a current directory for each drive, os.path.join("c:", "foo") represents a path relative to the current directory on drive C: (c:foo), not c:\foo.

So I think this issue should be closed as not a bug.

----------
nosy: +benhoyt

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


More information about the Python-bugs-list mailing list