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

Avoid using _typeshed.StrEnum #13062

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Avoid using _typeshed.StrEnum #13062

wants to merge 2 commits into from

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Nov 21, 2024

This was a perfectly reasonable way to handle StrEnum. That said, there's only two uses of it, and this is just about the only thing currently in the stdlib that benefits from the complicated MRO-with-skips comparison in the original version of @hauntsaninja's inheritance checker from #3968. As I get ready to propose a version of that check for inclusion in stubtest, it'd be nice to drop that part.

This comment has been minimized.

@tungol tungol changed the title remove _typeshed.StrEnum Avoid using _typeshed.StrEnum Nov 22, 2024
@tungol tungol changed the title Avoid using _typeshed.StrEnum Avoid using _typeshed.StrEnum Nov 22, 2024
Copy link
Contributor

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

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