Markus Heiser ef56e1d684 [fix] HTMLParser: undocumented not implemented method
In python versions <py3.10 there is an issue with an undocumented method
HTMLParser.error() [1][2] that was deprecated in Python 3.4 and removed
in Python 3.5.

To be compatible to higher versions (>=py3.10) an error method is implemented
which throws an AssertionError exception like the higher Python versions do [3].

[1] https://github.com/python/cpython/issues/76025
[2] https://bugs.python.org/issue31844
[3] https://github.com/python/cpython/pull/8562

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-22 10:35:02 +02:00
..
2023-09-18 16:20:27 +02:00
2023-10-13 11:47:30 +02:00
2023-09-18 16:20:27 +02:00
2023-09-18 16:20:27 +02:00
2023-10-13 12:56:29 +02:00
2022-07-30 18:04:44 +02:00
2023-09-18 16:20:27 +02:00
2023-09-18 16:20:27 +02:00
2023-09-18 16:20:27 +02:00
2023-09-18 16:20:27 +02:00