New submission from Serhiy Storchaka: 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. ---------- components: Library (Lib) messages: 205392 nosy: serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: ntpath.splitdrive() fails when UNC part contains \u0130 type: behavior versions: Python 2.7, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19911> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com