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

M.-A. Lemburg mal at egenix.com
Wed Mar 1 16:15:58 CET 2006

Walter Dörwald wrote:
> 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!

I'll have a look this week.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Mar 01 2006)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::

More information about the Python-Dev mailing list