[Python-Dev] PEP 383 update: utf8b is now the error handler
M.-A. Lemburg
mal at egenix.com
Wed May 6 02:26:31 CEST 2009
Martin v. Löwis wrote:
>> I have three substantive comments. First, although consequences for
>> Python 3 byte interfaces (ie, "none") are explicitly stated, as far as
>> I can see this PEP could apply to Python 2 as well. I don't think
>> it's intended that way. Either way, I think you should clarify that
>> point.
>
> Done: the Python-Version header already clarifies that point.
>
>> Second, I suggest "surrogate-replace" as the name of the error handler
>> rather than "utf8b".
>
> I think this is bike-shedding.
The name "utf8b" suggested in the PEP is not in line with the codec
design and causes confusion with an existing codec of a similar name.
Error handlers and codecs are two different things, so the namespaces
need to be clearly separate.
Please change the name of the error handler to a different name that
does not resemble or cause confusion with a codec name and fits the
scheme of error handler names we already have in place in Python for
replacing error handlers, i.e. "XYZreplace".
Thanks,
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, May 06 2009)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
2009-06-29: EuroPython 2009, Birmingham, UK 53 days to go
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Python-Dev
mailing list