Skip to content

cap concrete tuple size#2348

Closed
yangdanny97 wants to merge 1 commit intofacebook:mainfrom
yangdanny97:export-D92566912
Closed

cap concrete tuple size#2348
yangdanny97 wants to merge 1 commit intofacebook:mainfrom
yangdanny97:export-D92566912

Conversation

@yangdanny97
Copy link
Copy Markdown
Contributor

Differential Revision: D92566912

@meta-cla meta-cla bot added the cla signed label Feb 6, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Feb 6, 2026

@yangdanny97 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92566912.

yangdanny97 added a commit to yangdanny97/pyrefly that referenced this pull request Feb 6, 2026
Summary: Pull Request resolved: facebook#2348

Differential Revision: D92566912
@github-actions

This comment has been minimized.

yangdanny97 added a commit to yangdanny97/pyrefly that referenced this pull request Feb 7, 2026
Summary: Pull Request resolved: facebook#2348

Differential Revision: D92566912
@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

Copy link
Copy Markdown
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

Summary:

If a tuple literal has no contextual type & has >256 elements, we infer `tuple[Any, ...]`

Differential Revision: D92566912
Copy link
Copy Markdown
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 8, 2026

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Feb 8, 2026

This pull request has been merged in b1fe95d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants