Message116002
> os.listdir(b'listdir') should raise an error (and not ignore
> the filename or replaces unencodable characters by b'?').
To avoid the error, a solution is to support the PEP 383 on Windows (for the mbcs encoding). I opened a separated issue for that: #9821.
But support PEP 383 will not fix this issue because the current implementation of listdir(b'.') doesn't use the Python codec, but use raw bytes filenames (use the ANSI API). |
|
Date |
User |
Action |
Args |
2010-09-10 11:06:26 | vstinner | set | recipients:
+ vstinner, loewis |
2010-09-10 11:06:26 | vstinner | set | messageid: <1284116786.01.0.32389952197.issue9820@psf.upfronthosting.co.za> |
2010-09-10 11:06:24 | vstinner | link | issue9820 messages |
2010-09-10 11:06:24 | vstinner | create | |
|