Author vstinner
Recipients vstinner
Date 2010-04-20.12:12:46
SpamBayes Score 7.10243e-05
Marked as misclassified No
Message-id <>
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:49vstinnersetrecipients: + vstinner
2010-04-20 12:12:49vstinnersetmessageid: <>
2010-04-20 12:12:47vstinnerlinkissue8468 messages
2010-04-20 12:12:47vstinnercreate