Message70943
| Author |
pitrou |
| Recipients |
HWJ, amaury.forgeotdarc, benjamin.peterson, pitrou |
| Date |
2008年08月09日.17:35:42 |
| SpamBayes Score |
0.010140462 |
| 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: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 |
|