[Python-3000] issue 3187 and decoding filenames

Benjamin Peterson musiccomposition at gmail.com
Thu Aug 21 15:30:22 CEST 2008


Issue 3187 is a case where os.listdir tries to decode filenames with
the default file system encoding, but failing that, simply returns the
unencoded bytestring. This was obviously ok in 2.x, but not so good in
py3k where bytes are cleanly separated from unicode.

Any comments on the issue are welcome.

-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."


More information about the Python-3000 mailing list