This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author md103
Recipients lys.nikolaou, md103, pablogsal
Date 2021-08-15.10:36:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The hexadecimal sequence '3c215b02634717' when passed as an argument to HTMLParser()'s feed function results in the exception noted below. The code example below illustrates this exception.

from html.parser import HTMLParser

parser = HTMLParser()

Traceback (most recent call last):
  File "", line 5, in <module>
  File "/usr/lib/python3.9/html/", line 110, in feed
  File "/usr/lib/python3.9/html/", line 178, in goahead
    k = self.parse_html_declaration(i)
  File "/usr/lib/python3.9/html/", line 263, in parse_html_declaration
    return self.parse_marked_section(i)
  File "/usr/lib/python3.9/", line 149, in parse_marked_section
    sectName, j = self._scan_name( i+3, i )
  File "/usr/lib/python3.9/", line 390, in _scan_name
    self.error("expected name token at %r"
  File "/usr/lib/python3.9/", line 33, in error
    raise NotImplementedError(
NotImplementedError: subclasses of ParserBase must override error()
Date User Action Args
2021-08-15 10:36:20md103setrecipients: + md103, lys.nikolaou, pablogsal
2021-08-15 10:36:20md103setmessageid: <>
2021-08-15 10:36:20md103linkissue44918 messages
2021-08-15 10:36:20md103create