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 iritkatriel
Recipients berker.peksag, ezio.melotti, iritkatriel, xtreak, yevgenyp
Date 2021-09-09.18:07:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631210837.76.0.965110957413.issue38573@roundup.psfhosted.org>
In-reply-to
Content
Changing type since this is an exception and not a crash.

I get a different error now:

>>> parser.feed(bytearray.fromhex('3c215b63612121').decode('ascii'))
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 154, in parse_marked_section
    raise AssertionError(
    ^^^^^^^^^^^^^^^^^^^^^
AssertionError: unknown status keyword 'ca' in marked section
History
Date User Action Args
2021-09-09 18:07:17iritkatrielsetrecipients: + iritkatriel, ezio.melotti, berker.peksag, xtreak, yevgenyp
2021-09-09 18:07:17iritkatrielsetmessageid: <1631210837.76.0.965110957413.issue38573@roundup.psfhosted.org>
2021-09-09 18:07:17iritkatriellinkissue38573 messages
2021-09-09 18:07:17iritkatrielcreate