[Python-Dev] "data".decode(encoding) ?!

Guido van Rossum guido@digicool.com
Sat, 05 May 2001 06:45:26 -0500


> I've attached the patch. Due to a small reorganisation the
> patch is a little longer -- symmetry has its price at C level
> too ;-)

Looks good on paper, so go ahead and check it in.  Watch out for
potential changes caused by Tim's iter-crusade!  :-)

While you're at it, why don't you check in the rot13 codec you posted
-- it's good to have simle examples in the standard library.
It would also be cool to have codecs for common file encodings like
base64, quoted-printable, binhex, uuencode, and even hex
(binascii.hexlify).

--Guido van Rossum (home page: http://www.python.org/~guido/)