[issue19667] Add the "htmlcharrefreplace" error handler

2015-07-21 Thread Berker Peksag

Changes by Berker Peksag :


--
nosy: +berker.peksag
versions: +Python 3.6 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19667] Add the "htmlcharrefreplace" error handler

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman :


--
nosy:  -ethan.furman

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19667] Add the "htmlcharrefreplace" error handler

2013-11-21 Thread Antoine Pitrou

Antoine Pitrou added the comment:

As long as it isn't built-in, I see no problems for including it personally.

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19667] Add the "htmlcharrefreplace" error handler

2013-11-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What should be done to make it more like you?

Paul Moore, Marc-Andre Lemburg, Ethan Furman and Terry Jan Reedy voted for it.

Steven D'Aprano proposed same idea on comp.python.general: 
http://comments.gmane.org/gmane.comp.python.general/742886 . And there are a 
number of implementations (partially buggy) in third-party code. One of them in 
CPython testsuite.

It would be good to have one standard implementation.

--
nosy: +ethan.furman, lemburg, pmoore, stevenjd, terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19667] Add the "htmlcharrefreplace" error handler

2013-11-20 Thread Ezio Melotti

Ezio Melotti added the comment:

As I wrote in the thread, I don't like this too much.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19667] Add the "htmlcharrefreplace" error handler

2013-11-20 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

The proposed patch adds the htmlcharrefreplace_errors() function which 
implements the "htmlcharrefreplace" error handler in the html module. This 
error handler is almost same as the "xmlcharrefreplace" error handler, but 
first try to replace an unencodable character to HTML named character 
reference. Result is a little more human-readable than with "xmlcharrefreplace".

See also a discussion on Python-Ideas: 
http://comments.gmane.org/gmane.comp.python.ideas/21307 .

--
components: Library (Lib)
files: htmlcharrefreplace.patch
keywords: patch
messages: 203517
nosy: ezio.melotti, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add the "htmlcharrefreplace" error handler
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32727/htmlcharrefreplace.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com