This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2010-04-20.12:12:46
SpamBayes Score 7.10243e-05
Marked as misclassified No
Message-id <1271765569.25.0.596764444797.issue8468@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-20 12:12:49vstinnersetrecipients: + vstinner
2010-04-20 12:12:49vstinnersetmessageid: <1271765569.25.0.596764444797.issue8468@psf.upfronthosting.co.za>
2010-04-20 12:12:47vstinnerlinkissue8468 messages
2010-04-20 12:12:47vstinnercreate