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

Fix generic TypedDict/NamedTuple fixup #14675

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

ilevkivskyi
Copy link
Member

Fixes #14638

TBH I don't remember why do we need to create the "incomplete" type alias (with empty type variables), and set up type variables later. But I didn't want to risk a larger refactoring and just fixed the missing calls surfaced by the issue instead.

@github-actions
Copy link
Contributor

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

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks!

@JukkaL JukkaL merged commit ec511c6 into python:master Feb 14, 2023
@ilevkivskyi ilevkivskyi deleted the fix-gen-td-inc branch February 14, 2023 14:03
ilinum pushed a commit to ilinum/mypy that referenced this pull request Feb 14, 2023
Fixes python#14638

TBH I don't remember why do we need to create the "incomplete" type
alias (with empty type variables), and set up type variables later. But
I didn't want to risk a larger refactoring and just fixed the missing
calls surfaced by the issue instead.
ilinum added a commit that referenced this pull request Feb 15, 2023
Backport of  #14675.

---------

Co-authored-by: Ivan Levkivskyi <[email protected]>
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.

Generic typeddict may corrupt the cache
2 participants