[Python-Dev] Easy codec access (original) (raw)
Guido van Rossum guido@digicool.com
Tue, 15 May 2001 11:35:09 -0500
- Previous message: [Python-Dev] Easy codec access
- Next message: [Python-Dev] Easy codec access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've just checked in a set of patches which implement the new .decode() method along with a couple of useful codecs.
Cool!
To see just how easy it is to write codecs, please have a look at the string codecs I added in this patch (e.g. zlibcodec.py or hexcodec.py). I am pretty sure that there are a lot more useful things in the standard lib which could benefit from these easy-to-use interfaces.
As an excercise, I added a quoted-printable codec. It was easy indeed!
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Easy codec access
- Next message: [Python-Dev] Easy codec access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]