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 santoso.wijaya
Recipients brian.curtin, loewis, mandel, pitrou, santoso.wijaya, tim.golden, vstinner
Date 2011-10-25.15:48:46
SpamBayes Score 0.00025747035
Marked as misclassified No
Message-id <1319557726.84.0.844835963281.issue13234@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-10-25 15:48:46santoso.wijayasetrecipients: + santoso.wijaya, loewis, pitrou, vstinner, tim.golden, brian.curtin, mandel
2011-10-25 15:48:46santoso.wijayasetmessageid: <1319557726.84.0.844835963281.issue13234@psf.upfronthosting.co.za>
2011-10-25 15:48:46santoso.wijayalinkissue13234 messages
2011-10-25 15:48:46santoso.wijayacreate