Message205392
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:26 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2013-12-06 18:18:26 | serhiy.storchaka | set | messageid: <1386353906.42.0.949556557512.issue19911@psf.upfronthosting.co.za> |
2013-12-06 18:18:26 | serhiy.storchaka | link | issue19911 messages |
2013-12-06 18:18:26 | serhiy.storchaka | create | |
|