[issue31844] HTMLParser: undocumented not implemented method

William Ayd report at bugs.python.org
Tue Oct 31 10:38:03 EDT 2017


William Ayd <william.ayd at gmail.com> added the comment:

And assuming that subclass requirement is intentional we could add an optional keyword argument to the HTMLParser that indicates what to do with errors, much like how encoding issues are handled within codecs. For backwards compatibility it can default to ignore, but fail and warn could be two alternate approaches that the error method could account for

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31844>
_______________________________________


More information about the Python-bugs-list mailing list