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

checkexpr: speedup typechecking of container literals with tuple entries #12706

Merged
merged 1 commit into from May 1, 2022

Conversation

huguesb
Copy link
Contributor

@huguesb huguesb commented May 1, 2022

fast_dict_type and fast_container_type only allowed Instance but not Tuple of Instances
which was mostly an oversight, as opposed to an intentional omission.

For #9427

`fast_dict_type` and `fast_container_type` only allowed Instance but not Tuple of Instances
which was mostly an oversight, as opposed to an intentional omission.

For python#9427
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2022

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

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.

Lgtm

@hauntsaninja hauntsaninja merged commit 7a2ad43 into python:master May 1, 2022
@huguesb huguesb deleted the pr-fast-container-with-tuple branch June 10, 2022 08:37
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.

None yet

2 participants