Revert "Infer correct types with overloads of `Type[Guard | Is]` by JukkaL · Pull Request #19161 · python/mypy

@JukkaL

)"

This reverts commit 43ea203.

The commit caused a regression (#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.

@JukkaL mentioned this pull request

May 28, 2025

sobolevn

@JukkaL JukkaL deleted the revert-typeguard-overload branch

May 29, 2025 09:40

JukkaL added a commit that referenced this pull request

May 29, 2025
)

This reverts commit 43ea203 (#17678).

The commit caused a regression (#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.

cdce8p 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.