Author iritkatriel
Recipients berker.peksag, ezio.melotti, hanno, iritkatriel, steven.daprano
Date 2021-09-09.18:08:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631210939.98.0.159923319868.issue32876@roundup.psfhosted.org>
In-reply-to
Content
I get a different error now:

>>> import html.parser
>>> html.parser.HTMLParser().feed("<![\n")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/iritkatriel/src/cpython-1/Lib/html/parser.py", line 110, in feed
    self.goahead(0)
    ^^^^^^^^^^^^^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/html/parser.py", line 178, in goahead
    k = self.parse_html_declaration(i)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/html/parser.py", line 263, in parse_html_declaration
    return self.parse_marked_section(i)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/_markupbase.py", line 144, in parse_marked_section
    sectName, j = self._scan_name( i+3, i )
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/_markupbase.py", line 390, in _scan_name
    raise AssertionError(
    ^^^^^^^^^^^^^^^^^^^^^
AssertionError: expected name token at '<![\n'
History
Date User Action Args
2021-09-09 18:09:00iritkatrielsetrecipients: + iritkatriel, ezio.melotti, steven.daprano, berker.peksag, hanno
2021-09-09 18:08:59iritkatrielsetmessageid: <1631210939.98.0.159923319868.issue32876@roundup.psfhosted.org>
2021-09-09 18:08:59iritkatriellinkissue32876 messages
2021-09-09 18:08:59iritkatrielcreate