[Python-Dev] [Python-3000] New proposition for Python3 bytes filename issue
greg.ewing at canterbury.ac.nz
Wed Oct 1 02:33:51 CEST 2008
M.-A. Lemburg wrote:
> In the end, I think it's better not to be clever and just return
> the filenames that cannot be decoded as bytes objects in os.listdir().
But since it's a rare occurrence, most applications are
just going to ignore the issue, and then fail unexpectedly
one day on some unsuspecting user that doesn't have the
inclination to go diving into the code to fix it.
More information about the Python-Dev