[Python-ideas] Add "htmlcharrefreplace" error handler

Antoine Pitrou solipsis at pitrou.net
Fri Jun 14 12:07:15 CEST 2013


On Fri, 14 Jun 2013 11:37:28 +0200
Stefan Drees <stefan at drees.name> wrote:
> > We're talking about this as if it were a major change. Doesn't
> > this count as a trivial addition? The only question in my mind is, "Are the
> > HTML char ref rules different enough from the XML rules that Python
> > should provide both?"
> >
> > It's not trivial, it's additional C code in an important part of the
> > language (unicode and codecs).
> >
> > And I haven't seen you propose a patch <ignored level="suggested"/>.
> 
> could we try to refrain from some b.t.w.'s \? (using trigraph-safe 
> question mark encoding, in case some tool has trigraphs still turned on 
> :-?)

We could, but in this case, this was pretty much warranted. Steven
suggested that a change was "trivial", so it's only fair to wonder on
which grounds he can cast such a judgement (e.g. what his authority is).

python-ideas may sometimes feel like a nice soapbox, but the end goal
is still to have code (or docs, PEPs, etc.) to check in. People will
naturally be judged, though mostly tacitly, on their contribution
track record (or absence thereof).

Regards

Antoine.




More information about the Python-ideas mailing list