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

"Martin v. Löwis" martin at v.loewis.de
Thu Jun 24 01:11:37 EDT 2004


M.-A. Lemburg wrote:
> I think those would cover 90% of all cases. For the remaining
> cases we could add codecs.encode() and codecs.decode()
> which then do allow arbitrary return types.

Can you give examples for the remaining cases?

Regards,
Martin




More information about the Python-Dev mailing list