[issue38573] Not Implemented Error in stdLib HTMLParser
Irit Katriel
report at bugs.python.org
Thu Sep 9 14:07:17 EDT 2021
Irit Katriel <iritkatriel at gmail.com> 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 <report at bugs.python.org>
<https://bugs.python.org/issue38573>
_______________________________________
More information about the Python-bugs-list
mailing list