[issue41489] HTMLParser : HTMLParser.error creating multiple errors.

Irit Katriel report at bugs.python.org
Tue Sep 7 12:06:37 EDT 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

The code was changed and now instead of calling self.error() it raises an exception: 

raise AssertionError(
   'unknown status keyword %r in marked section' % rawdata[i+3:j])


So match not being initialised is no longer a problem.

----------
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list