[Python-Dev] Stateful codecs [Was: str object going in Py3K]

Walter Dörwald walter at livinglogic.de
Wed Mar 1 15:48:47 CET 2006


M.-A. Lemburg wrote:
> Walter Dörwald wrote:
>> Hye-Shik Chang wrote:
>>
>>> On 2/19/06, Walter Dörwald <walter at livinglogic.de> wrote:
>>>> M.-A. Lemburg wrote:
>>>>> Walter Dörwald wrote:
>>>>>> Anyway, I've started implementing a patch that just adds
>>>>>> codecs.StatefulEncoder/codecs.StatefulDecoder. UTF8, UTF8-Sig,
>>>>>> UTF-16, UTF-16-LE and UTF-16-BE are already working.
>>>>> Nice :-)
>>>> gencodec.py is updated now too. The rest should be manageble too.
>>>> I'll leave updating the CJKV codecs to Hye-Shik though.
>>> Okay. I'll look whether how CJK codecs can be improved by the
>>> new protocol soon.  I guess it'll be not so difficult because CJK
>>> codecs have a their own common stateful framework already.
>> OK, here's the patch: bugs.python.org/1436130 (assigned to MAL).
> 
> Thanks. I won't be able to look into it this week though, probably
> next week.

Any progress on this? I'd really like to get this into 2.5 and the 
feature freeze is approaching fast!

Bye,
    Walter Dörwald


More information about the Python-Dev mailing list