FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix crash on partial type, --allow-redefinition, and global declaration by JukkaL · Pull Request #21428 · python/mypy · GitHub

/ mypy Public

Fix crash on partial type, --allow-redefinition, and global declaration - #21428

Merged
JukkaL merged 1 commit into
masterfrom
fix-partial-crash
May 7, 2026
Merged

Fix crash on partial type, --allow-redefinition, and global declaration#21428
JukkaL merged 1 commit into
masterfrom
fix-partial-crash

Conversation

JukkaL commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Filter out partial types when updating binder.

Fixes #21423.

Filter out partial types when updating binder.

Fixes #21423.
JukkaL requested a review from ilevkivskyi May 7, 2026 09:54

ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice, thanks!

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

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

JukkaL merged commit 3f0c355 into master May 7, 2026
24 checks passed
JukkaL deleted the fix-partial-crash branch May 7, 2026 10:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.0 regression] Crash with --allow-redefinition on partial type with global

2 participants


Back | FazBrowse Home | New Git URL