Infer correct types with overloads of `Type[Guard | Is]` by sobolevn · Pull Request #17678 · python/mypy
sobolevn
deleted the
overloads-type-narrower-inference
branch
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request
Feb 24, 2025Closes python#17579 Consider this as a prototype, because I understand that there might be a lot of extra work to get this right. However, this does solve this problem in the original issue.
JukkaL added a commit that referenced this pull request
May 28, 2025JukkaL added a commit that referenced this pull request
May 29, 2025JukkaL added a commit that referenced this pull request
May 29, 2025cdce8p pushed a commit to cdce8p/mypy that referenced this pull request
May 31, 2025…hon#19161) This reverts commit 43ea203 (python#17678). The commit caused a regression (python#19139). If we can't fix the regression soon enough, reverting the original change temporarily will at least unblock the mypy public release. The reverted PR can be merged again once the regression is fixed.
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