Irit Katriel <[email protected]> added the comment:
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
----------
nosy: +iritkatriel
type: crash -> behavior
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38573>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com