[issue1486713] HTMLParser : A auto-tolerant parsing mode

kxroberto report at bugs.python.org
Tue Nov 15 19:04:28 CET 2011


kxroberto <kxroberto at users.sourceforge.net> added the comment:

I looked at the new patch http://hg.python.org/lookup/r86952 for Py3 (regarding the extended tolerance and local backporting to Python2.7):

What I miss are the calls of a kind of self.warning(msg,i,k) function in non-strict/tolerant mode (where self.error is called in strict mode). Such function could be empty or could be a silent simple counter (like in the old patch) - and could be easily sub-classed for advanced use.
I often want at least the possibilty of a HTML error log - so the HTML author (sometimes its me myself) can be noticed to get it more strict on the long run ;-) ...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1486713>
_______________________________________


More information about the Python-bugs-list mailing list