Message103696
bz2 uses "s" format to parse the filename argument: it uses the default (unicode) encoding to encode the unicode filename to a byte string. It should use the default file system encoding instead.
It should also support surrogates in unicode filename and bytes/bytearray filenames.
Attached patch uses PyUnicode_FSConverter() to implement that. |
|
Date |
User |
Action |
Args |
2010-04-20 12:12:49 | vstinner | set | recipients:
+ vstinner |
2010-04-20 12:12:49 | vstinner | set | messageid: <1271765569.25.0.596764444797.issue8468@psf.upfronthosting.co.za> |
2010-04-20 12:12:47 | vstinner | link | issue8468 messages |
2010-04-20 12:12:47 | vstinner | create | |
|