Santoso Wijaya <santoso.wij...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13234>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to