Skip to content

Couple tuple-related fixes#12

Merged
JukkaL merged 1 commit into
mainfrom
tuple-things
Feb 18, 2026
Merged

Couple tuple-related fixes#12
JukkaL merged 1 commit into
mainfrom
tuple-things

Conversation

@ilevkivskyi
Copy link
Copy Markdown
Collaborator

There are two things that caused surprisingly many test failures:

  • The x, y = 1, 2 # type: int, int syntax
  • Empty tuple index, i.e. Foo[()]

I will also make a PR to new-parser branch with corresponding changes on mypy side. Not sure how testing works now, but i tested manually end-to-end and it seems to be working.

@ilevkivskyi
Copy link
Copy Markdown
Collaborator Author

Cross-ref to mypy PR python/mypy#20840

Copy link
Copy Markdown
Contributor

@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 615b73c into main Feb 18, 2026
JukkaL pushed a commit to python/mypy that referenced this pull request Feb 18, 2026
This is the mypy counter-part of
mypyc/ast_serialize#12. Depends on that PR to
work.
@ilevkivskyi ilevkivskyi deleted the tuple-things branch February 18, 2026 12:05
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