Skip to content

Conversation

@hodgestar
Copy link
Contributor

@hodgestar hodgestar commented Aug 25, 2024

Genshi's HTMLParser referenced Python's html.HTMLParseError exception type in its try except clause. This exception class was deprecated in Python 3.3, removed in Python 3.5, and was not raised except in strict mode which, as far as I can tell from the version history, Genshi never used.

See https://docs.python.org/3.4/library/html.parser.html#html.parser.HTMLParseError.

Fixes #85.

@hodgestar hodgestar merged commit 43496ec into master Aug 25, 2024
@hodgestar hodgestar deleted the feature/add-test-for-html-parser-error branch August 25, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception handler tries to use nonexistent error class (html.HTMLParseError)

2 participants