[issue16656] os.listdir() returns unusable bytes result on Windows

Serhiy Storchaka report at bugs.python.org
Fri Dec 14 22:33:34 CET 2012


Serhiy Storchaka added the comment:

> For example, os.listdir(bytes) doesn't fail in Python 2.7 with unencodable names, whereas it fails with your patch.

No. The purpose of this patch is that it doesn't fail and should return
a usable result.

----------

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


More information about the Python-bugs-list mailing list