Skip to content

covariant key type for MappingProxyType #13940

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jorenham
Copy link
Contributor

@jorenham jorenham commented May 4, 2025

It's @final, so I figured that the similar concerns for Mapping from python/typing#273 don't apply here 🤷.

But I admit that amount of # type: ignore's is a bit sketchy...

@jorenham jorenham force-pushed the MappingProxyType-covariant-key-type branch 2 times, most recently from 4961d43 to f447c14 Compare May 4, 2025 15:46
@jorenham jorenham force-pushed the MappingProxyType-covariant-key-type branch from f447c14 to 01b423b Compare May 4, 2025 15:48
Copy link
Contributor

github-actions bot commented May 4, 2025

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.

1 participant