[Python-Dev] Decoding incomplete unicode

"Martin v. Löwis" martin at v.loewis.de
Tue Jul 27 23:15:00 CEST 2004


M.-A. Lemburg wrote:
> I like the idea, but don't think the implementation is
> the right way to do it. Instead, I'd suggest using a new
> error handling strategy "break" ( = break processing as
> soon as errors are found).

Can you demonstrate this approach in a patch? I think it
is unimplementable: the codec cannot communicate to the
error callback that it ran out of data.

Regards,
Martin


More information about the Python-Dev mailing list