[Python-Dev] Allowing u.encode() to return non-strings

"Martin v. Löwis" martin at v.loewis.de
Thu Jun 24 18:19:26 EDT 2004

M.-A. Lemburg wrote:
>> Can you give examples for the remaining cases?
> A codec might want to return a buffer object, a mmapped
> file, a home grown object, an array, a PIL Image object,
> a WAV audio file object, etc. etc.

Which specific encoding would return a mmaped filed?


More information about the Python-Dev mailing list