This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2013-12-06.18:18:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
ntpath.splitdrive() returns wrong result when UNC part contains LATIN CAPITAL LETTER I WITH DOT ABOVE ('İ', '\u0130').

>>> ntpath.splitdrive('//host/I/abc')
('//host/I', '/abc')
>>> ntpath.splitdrive('//host/İ/abc')
('//host/İ/', 'abc')
>>> ntpath.splitdrive('//host/İİ/abc')
('//host/İİ/a', 'bc')
>>> ntpath.splitdrive('//host/İİİ/abc')
('//host/İİİ/ab', 'c')

This is because ntpath.splitdrive() find an index for a split in normcased path and len('\u0130'.lower()) != 1.
Date User Action Args
2013-12-06 18:18:26serhiy.storchakasetrecipients: + serhiy.storchaka
2013-12-06 18:18:26serhiy.storchakasetmessageid: <>
2013-12-06 18:18:26serhiy.storchakalinkissue19911 messages
2013-12-06 18:18:26serhiy.storchakacreate