Message70943
Hmm, I suppose that while the filename is latin1-encoded,
Py_FileSystemDefaultEncoding is "utf-8" and therefore os.listdir fails
decoding the filename and falls back on returning a byte string.
It was acceptable in Python 2.x but is a very annoying problem in py3k
now that unicode and bytes objects can't be mixed together anymore. I'm
bumping this to critical, although there is probably no clean solution. |
|
Date |
User |
Action |
Args |
2008-08-09 17:35:58 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, benjamin.peterson, HWJ |
2008-08-09 17:35:58 | pitrou | set | messageid: <1218303358.46.0.474564395925.issue3187@psf.upfronthosting.co.za> |
2008-08-09 17:35:42 | pitrou | link | issue3187 messages |
2008-08-09 17:35:42 | pitrou | create | |
|