Author pitrou
Recipients HWJ, amaury.forgeotdarc, benjamin.peterson, pitrou
Date 2008-08-09.17:35:42
SpamBayes Score 0.0101405
Marked as misclassified No
Message-id <1218303358.46.0.474564395925.issue3187@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-08-09 17:35:58pitrousetrecipients: + pitrou, amaury.forgeotdarc, benjamin.peterson, HWJ
2008-08-09 17:35:58pitrousetmessageid: <1218303358.46.0.474564395925.issue3187@psf.upfronthosting.co.za>
2008-08-09 17:35:42pitroulinkissue3187 messages
2008-08-09 17:35:42pitroucreate