[Python-Dev] PEP 383 update: utf8b is now the error handler
"Martin v. Löwis"
martin at v.loewis.de
Thu May 7 07:53:07 CEST 2009
> The error handler designed with utf-8 in mind has no name in the encode
> direction and is called "utf_8b_decoder_invalid_bytes" in the decode
> direction. By your reasoning, *that* should be its name in Python. The
> encoding error handler would then be named analogously
> "utf_8b_encoder_invalid_codepoints". Even these, to me, would be better
> than confusing giving them the same name as the codec.
So are you proposing that I should rename the PEP 383 handler
to "utf_8b_encoder_invalid_codepoints"?
Regards,
Martin
More information about the Python-Dev
mailing list