Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html5lib: Add various types #11429

Merged
merged 3 commits into from
Feb 20, 2024
Merged

html5lib: Add various types #11429

merged 3 commits into from
Feb 20, 2024

Conversation

JelleZijlstra
Copy link
Member

I started out investigating comments in #11411 and ended up adding a few other
types that were reasonably obvious from the source code. For reference:

https://github.com/html5lib/html5lib-python/tree/master/html5lib

cc @leonardr

I started out investigating comments in python#11411 and ended up adding a few other
types that were reasonably obvious from the source code. For reference:

https://github.com/html5lib/html5lib-python/tree/master/html5lib

cc @leonardr

This comment has been minimized.

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@leonardr
Copy link
Contributor

I only have experience with a small part of the html5lib API, but these changes make sense to me.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's weird that the encodings can be bytes, but I guess that's Python 2 for you

@hauntsaninja hauntsaninja merged commit 78b7dc6 into python:main Feb 20, 2024
45 checks passed
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.

3 participants