[Python-Dev] PEP 293, Codec Error Handling Callbacks
Walter Dörwald
walter@livinglogic.de
Mon, 12 Aug 2002 20:47:54 +0200
M.-A. Lemburg wrote:
> Martin v. Loewis wrote:
> [...]
>>> codecs.lookup_error("replace") != codecs.replace_errors
>>
>> [...]
>> I recommend to fix this by implementing the registry in Python.
>
> This doesn't work as I've already explained before. The predefined
> error handling modes of builtin codecs must work with relying on
> the Python import mechanism.
s/with/without/ ?
At least "strict" should be implemented inline, because reading
broken .pyc files which contain (utf-8 encoded) unicode constants
would probably lead to all kinds of interesting problems.
[...]
Bye,
Walter Dörwald