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 <[email protected]>
<http://bugs.python.org/issue23535>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com