Message146375
Even if we decide not to convert any forward slash, listdir() adds u"\\*.*" when the input is unicode, but it adds "/*.*" when it is not, before passing it off to Windows API. Hence the inconsistency and the problem Manuel saw.
IMO, his patch shouldn't have differentiated if the path starts with r"\\?\" and just be consistent with adding "\\*.*", unicode or not. |
|
Date |
User |
Action |
Args |
2011-10-25 15:48:46 | santoso.wijaya | set | recipients:
+ santoso.wijaya, loewis, pitrou, vstinner, tim.golden, brian.curtin, mandel |
2011-10-25 15:48:46 | santoso.wijaya | set | messageid: <1319557726.84.0.844835963281.issue13234@psf.upfronthosting.co.za> |
2011-10-25 15:48:46 | santoso.wijaya | link | issue13234 messages |
2011-10-25 15:48:46 | santoso.wijaya | create | |
|