[Python-Dev] Optional arguments for str.encode /.decode

Martin v. Löwis martin at v.loewis.de
Fri Nov 7 14:12:35 EST 2003


"Raymond Hettinger" <raymond.hettinger at verizon.net> writes:

> Idea for the day:  Let the str.encode/decode methods accept keyword
> arguments to be forwarded to the underlying codec.

-1. The non-Unicode usage of .encode should not have been there in the
first place, IMO, so I dislike any extensions to it.

Regards,
Martin




More information about the Python-Dev mailing list