KEMBAR78
Fix daemon crash on invalid type in TypedDict by ilevkivskyi · Pull Request #17495 · python/mypy · GitHub
Skip to content

Conversation

ilevkivskyi
Copy link
Member

Fixes #10007
Fixes #17477

This fixes the crash as proposed in #13732, but also fixes some inconsistencies in Any types exposed by the fix.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2024

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

@ilevkivskyi ilevkivskyi merged commit e5b3b56 into python:master Jul 6, 2024
@ilevkivskyi ilevkivskyi deleted the fix-dict-daemon-crash branch July 6, 2024 21:04
JukkaL pushed a commit that referenced this pull request Jul 18, 2024
Fixes #10007
Fixes #17477

This fixes the crash as proposed in
#13732, but also fixes some
inconsistencies in `Any` types exposed by the fix.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

Class format of TypedDict does not produce proper coverage dmypy crash with “Invalid type comment or annotation”

1 participant