Skip to content

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
@github-actions

This comment has been minimized.

@github-actions
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
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