Skip to content

Fix return values of DictProxy.{items,values} in the typeshed #13811

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

Closed
wants to merge 1 commit into from
Closed

Fix return values of DictProxy.{items,values} in the typeshed #13811

wants to merge 1 commit into from

Conversation

Quentin01
Copy link

#12982 is introducing the type DictProxy in the typeshed but the return values got mixed up between the method values and items.

@JelleZijlstra
Copy link
Member

Sorry I thought this was on the typeshed repo, not the mypy repo. We shouldn't change this directly in mypy; instead we should fix it in typeshed and bring it in with the next typeshed sync.

@JelleZijlstra
Copy link
Member

Typeshed was already fixed in python/typeshed#8815.

@Quentin01
Copy link
Author

Sorry I didn't know that the typeshed was another repository synced in mypy. Do you have an idea of when the next typeshed sync will be done and released?

@Quentin01 Quentin01 deleted the fix-dictproxy-types branch October 4, 2022 14:25
@JelleZijlstra
Copy link
Member

I believe the next release (0.990) should be in about a month. We will sync typeshed before then.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2022

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.

2 participants