[issue8468] bz2: support surrogates in filename, and bytes/bytearray filename

2010-04-23 Thread STINNER Victor
STINNER Victor added the comment: Commited: r80402 (py3k), r80403 (3.1). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8468] bz2: support surrogates in filename, and bytes/bytearray filename

2010-04-20 Thread STINNER Victor
New submission from STINNER Victor : 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 byt