[issue19456] ntpath doesn't join paths correctly when a drive is present

Serhiy Storchaka report at bugs.python.org
Fri Dec 6 18:58:50 CET 2013


Serhiy Storchaka added the comment:

With previous patch:

>>> ntpath.join('C:a/b', 'D:y/z')
'D:y/z\\y/z'

Should be 'D:y/z'.

Here is other patch which implements same algorithm as in pathlib (issue19908). Added new tests, removed duplicated tests.

----------
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka
stage:  -> patch review
versions:  -Python 3.1, Python 3.2

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


More information about the Python-bugs-list mailing list