[issue9820] Windows : os.listdir(b'.') doesn't raise an error for unencodable filenames

STINNER Victor report at bugs.python.org
Fri Sep 10 12:45:14 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I found this bug while trying to find an unencodable filename for #9819 (TESTFN_UNDECODABLE).

Anyway, the bytes API should be avoided on Windows since Windows native filename type is unicode.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9820>
_______________________________________


More information about the Python-bugs-list mailing list