Message 103696 - Python tracker (original) (raw)

Message103696

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: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