[Python-Dev] Adding Japanese Codecs to the distro

Martin v. Löwis martin@v.loewis.de
24 Jan 2003 10:04:52 +0100


Tamito KAJIYAMA <kajiyama@grad.sccs.chukyo-u.ac.jp> writes:

> The StreamReader/Writer classes in JapaneseCodecs can cope with
> the statefulness, BTW.

I see. I was really concerned about the stream reader only; I agree
that it is perfectly reasonable to assume that an individual string is
"complete" with regard to the encoding.

Notice that your codec is thus advanced over both the Python UTF-8
codec, and Hisao's codec: neither of those care about this issue; this
is a bug in both.

Regards,
Martin