René's URL Explorer Experiment


Title: [match-case] fix matching against `typing.Callable` and `Protocol` types. by randolf-scholz · Pull Request #19471 · python/mypy · GitHub

Open Graph Title: [match-case] fix matching against `typing.Callable` and `Protocol` types. by randolf-scholz · Pull Request #19471 · python/mypy

X Title: [match-case] fix matching against `typing.Callable` and `Protocol` types. by randolf-scholz · Pull Request #19471 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Fixes match-case class checking against collection.abc.Callable raises error [misc] #14014 Partially addresses [match-case]/[isinstance] narrowing logic against the special AnyCallable Protocol dif...

X Description: Fixes match-case class checking against collection.abc.Callable raises error [misc] #14014 Partially addresses [match-case]/[isinstance] narrowing logic against the special AnyCallable Protocol dif...

Opengraph URL: https://github.com/python/mypy/pull/19471

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:1e6e7875-4d57-ba13-2d59-e18f44a2ae89
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD570:28FEA:C3ACC:1125E9:6B00529B
html-safe-noncec5bd3aac3724e83b7ad5f328e6f23a9ef7158efd43d813a297c69e6ca2985c1e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTcwOjI4RkVBOkMzQUNDOjExMjVFOTo2QjAwNTI5QiIsInZpc2l0b3JfaWQiOiIzOTc3MTIyNTIwODQyMTMwMDc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfaceea32a6b9af7237cf16ad34dbb008b5ee2572c30d880dc4416b5237209e19
hovercard-subject-tagpull_request:2672944348
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/19471/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/79e0658135a07cc40a99a56d7027ac0c6ad0d90db915109b4dc1855bb9caa439/python/mypy/pull/19471
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79e0658135a07cc40a99a56d7027ac0c6ad0d90db915109b4dc1855bb9caa439/python/mypy/pull/19471
og:image:altFixes match-case class checking against collection.abc.Callable raises error [misc] #14014 Partially addresses [match-case]/[isinstance] narrowing logic against the special AnyCallable Protocol dif...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerandolf-scholz
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/19471#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/19471
Reloadhttps://github.com/python/mypy/pull/19471
Reloadhttps://github.com/python/mypy/pull/19471
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
randolf-scholz:fix_match_callablehttps://github.com/randolf-scholz/mypy/tree/fix_match_callable
Conversationhttps://github.com/python/mypy/pull/19471
Commits23 (23)https://github.com/python/mypy/pull/19471/commits
Checkshttps://github.com/python/mypy/pull/19471/checks
Files changedhttps://github.com/python/mypy/pull/19471/files
[match-case] fix matching against typing.Callable and Protocol types.https://github.com/python/mypy/pull/19471#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
randolf-scholz:fix_match_callablehttps://github.com/randolf-scholz/mypy/tree/fix_match_callable
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Jul 17, 2025https://github.com/python/mypy/pull/19471#issue-3238449520
Please reload this pagehttps://github.com/python/mypy/pull/19471
match-case class checking against collection.abc.Callable raises error [misc] #14014https://github.com/python/mypy/issues/14014
[match-case]/[isinstance] narrowing logic against the special AnyCallable Protocol differs from callable() check #19470https://github.com/python/mypy/issues/19470
Please reload this pagehttps://github.com/python/mypy/pull/19471
randolf-scholzhttps://github.com/randolf-scholz
July 16, 2025 21:45https://github.com/python/mypy/pull/19471#commits-pushed-46da423
https://github.com/randolf-scholz
fixed match-case against typing.Callablehttps://github.com/python/mypy/pull/19471/commits/46da423a9a3ec49440431e9f266290851d2229d1
46da423https://github.com/python/mypy/pull/19471/commits/46da423a9a3ec49440431e9f266290851d2229d1
https://github.com/randolf-scholz
more precise type narrowinghttps://github.com/python/mypy/pull/19471/commits/5fbcbed9a72d59675cbafad714419362d3c53f56
5fbcbedhttps://github.com/python/mypy/pull/19471/commits/5fbcbed9a72d59675cbafad714419362d3c53f56
https://github.com/randolf-scholz
improve narrowing + better testshttps://github.com/python/mypy/pull/19471/commits/a5c4ebe5a4f08161defb290e39a4be6efda2e89b
a5c4ebehttps://github.com/python/mypy/pull/19471/commits/a5c4ebe5a4f08161defb290e39a4be6efda2e89b
https://github.com/randolf-scholz
added test for plain protocolshttps://github.com/python/mypy/pull/19471/commits/d388ec9f8f8188aae4dc3f648cf7d9d2beb12754
d388ec9https://github.com/python/mypy/pull/19471/commits/d388ec9f8f8188aae4dc3f648cf7d9d2beb12754
https://github.com/randolf-scholz
use is_protocol rather than runtime_protocol since the runtime-ch…https://github.com/python/mypy/pull/19471/commits/ab1e450d12b4a20dec3920368e28cc9a81e92f2b
ab1e450https://github.com/python/mypy/pull/19471/commits/ab1e450d12b4a20dec3920368e28cc9a81e92f2b
https://github.com/randolf-scholz
split Callback test into two.https://github.com/python/mypy/pull/19471/commits/89f8350478aab1d48263cde1c36fdbe5de1113f9
89f8350https://github.com/python/mypy/pull/19471/commits/89f8350478aab1d48263cde1c36fdbe5de1113f9
https://github.com/randolf-scholz
Improved callback test by checking both against concrete implementati…https://github.com/python/mypy/pull/19471/commits/c5d34c9a9a0f23e2e09b812846f0d0c5bd5e666a
c5d34c9https://github.com/python/mypy/pull/19471/commits/c5d34c9a9a0f23e2e09b812846f0d0c5bd5e666a
https://github.com/randolf-scholz
improved testMatchClassPatternCallable with extra checkhttps://github.com/python/mypy/pull/19471/commits/c4471a11d91494e1fb575a1bf97a69beec20926f
c4471a1https://github.com/python/mypy/pull/19471/commits/c4471a11d91494e1fb575a1bf97a69beec20926f
https://github.com/randolf-scholz
Fix narrowing when current_type is Any.https://github.com/python/mypy/pull/19471/commits/9a3e37479297c95d3ec2f6363f4006a0e35d9adc
9a3e374https://github.com/python/mypy/pull/19471/commits/9a3e37479297c95d3ec2f6363f4006a0e35d9adc
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
July 19, 2025 22:16https://github.com/python/mypy/pull/19471#event-18713598657
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/07119e0e17da2a8cc838a997074c297785d21f15
07119e0https://github.com/python/mypy/pull/19471/commits/07119e0e17da2a8cc838a997074c297785d21f15
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
fixed return type using mesonbuild mypy-primer failurehttps://github.com/python/mypy/pull/19471/commits/74db0aab2c322d9f963a107b0c1d003fddd8e9d8
74db0aahttps://github.com/python/mypy/pull/19471/commits/74db0aab2c322d9f963a107b0c1d003fddd8e9d8
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
force-pushedhttps://github.com/python/mypy/compare/39eedb420661adda6e4d70d81c979aaf0bcf7abd..74db0aab2c322d9f963a107b0c1d003fddd8e9d8
39eedb4https://github.com/python/mypy/commit/39eedb420661adda6e4d70d81c979aaf0bcf7abd
74db0aahttps://github.com/python/mypy/commit/74db0aab2c322d9f963a107b0c1d003fddd8e9d8
Compare https://github.com/python/mypy/compare/39eedb420661adda6e4d70d81c979aaf0bcf7abd..74db0aab2c322d9f963a107b0c1d003fddd8e9d8
July 20, 2025 07:24https://github.com/python/mypy/pull/19471#event-18715225492
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
force-pushedhttps://github.com/python/mypy/compare/34181498af89424c9d30a645d2ab5a4bc3abeab3..d62d6d21a1086d71a0f5137c0b392fe353d11a19
3418149https://github.com/python/mypy/commit/34181498af89424c9d30a645d2ab5a4bc3abeab3
d62d6d2https://github.com/python/mypy/commit/d62d6d21a1086d71a0f5137c0b392fe353d11a19
Compare https://github.com/python/mypy/compare/34181498af89424c9d30a645d2ab5a4bc3abeab3..d62d6d21a1086d71a0f5137c0b392fe353d11a19
July 20, 2025 08:40https://github.com/python/mypy/pull/19471#event-18715445389
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
check if current_type is AnyTypehttps://github.com/python/mypy/pull/19471/commits/143f99034605558ab92451b04269dbcb4695565a
143f990https://github.com/python/mypy/pull/19471/commits/143f99034605558ab92451b04269dbcb4695565a
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
force-pushedhttps://github.com/python/mypy/compare/d62d6d21a1086d71a0f5137c0b392fe353d11a19..143f99034605558ab92451b04269dbcb4695565a
d62d6d2https://github.com/python/mypy/commit/d62d6d21a1086d71a0f5137c0b392fe353d11a19
143f990https://github.com/python/mypy/commit/143f99034605558ab92451b04269dbcb4695565a
Compare https://github.com/python/mypy/compare/d62d6d21a1086d71a0f5137c0b392fe353d11a19..143f99034605558ab92451b04269dbcb4695565a
July 20, 2025 09:59https://github.com/python/mypy/pull/19471#event-18715743487
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
July 20, 2025 10:49https://github.com/python/mypy/pull/19471#event-18715989600
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jul 27, 2025 https://github.com/python/mypy/pull/19471#pullrequestreview-3059586935
View reviewed changes https://github.com/python/mypy/pull/19471/files/143f99034605558ab92451b04269dbcb4695565a
mypy/checker.pyhttps://github.com/python/mypy/pull/19471/files/143f99034605558ab92451b04269dbcb4695565a#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
Please reload this pagehttps://github.com/python/mypy/pull/19471
mypy/checker.pyhttps://github.com/python/mypy/pull/19471/files/143f99034605558ab92451b04269dbcb4695565a#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
Please reload this pagehttps://github.com/python/mypy/pull/19471
test-data/unit/check-python310.testhttps://github.com/python/mypy/pull/19471/files/143f99034605558ab92451b04269dbcb4695565a#diff-9100781e1e8bb8997aa611cce8014d8680677e036e9652d59fbd86336f80c3fe
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jul 27, 2025https://github.com/python/mypy/pull/19471#issuecomment-3124488437
#19470https://github.com/python/mypy/issues/19470
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jul 27, 2025 https://github.com/python/mypy/pull/19471#ref-pullrequest-3239294664
[match-case] Fix narrowing of class pattern with union-argument. #19473 https://github.com/python/mypy/pull/19473
randolf-scholzhttps://github.com/randolf-scholz
July 27, 2025 18:46https://github.com/python/mypy/pull/19471#commits-pushed-a3d469f
https://github.com/randolf-scholz
https://github.com/sterliakov
Update test-data/unit/check-python310.testhttps://github.com/python/mypy/pull/19471/commits/a3d469fb74447835c1177c023e525f9a71d712ce
a3d469fhttps://github.com/python/mypy/pull/19471/commits/a3d469fb74447835c1177c023e525f9a71d712ce
https://github.com/randolf-scholz
https://github.com/sterliakov
Update mypy/checker.pyhttps://github.com/python/mypy/pull/19471/commits/e80d6587b7768f76e2ebf985085196fdf4b73fce
e80d658https://github.com/python/mypy/pull/19471/commits/e80d6587b7768f76e2ebf985085196fdf4b73fce
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/82e816c7f6bdb0a6db27f3102b9e49ed43a65be8
82e816chttps://github.com/python/mypy/pull/19471/commits/82e816c7f6bdb0a6db27f3102b9e49ed43a65be8
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/19471/commits/6a1ad26a1dabb5ee74386730dc6acc193326b225
6a1ad26https://github.com/python/mypy/pull/19471/commits/6a1ad26a1dabb5ee74386730dc6acc193326b225
https://pre-commit.cihttps://pre-commit.ci
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/2011f01d63579e7ba545c171d7b173ca09c4b9ed
2011f01https://github.com/python/mypy/pull/19471/commits/2011f01d63579e7ba545c171d7b173ca09c4b9ed
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/33b1c257508f7e84694d03a6d68989e3d82b2059
33b1c25https://github.com/python/mypy/pull/19471/commits/33b1c257508f7e84694d03a6d68989e3d82b2059
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/63127305b0a88ec8f081667b174b272a0f02d1b4
6312730https://github.com/python/mypy/pull/19471/commits/63127305b0a88ec8f081667b174b272a0f02d1b4
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
sterliakovhttps://github.com/sterliakov
September 16, 2025 13:32https://github.com/python/mypy/pull/19471#event-19727024780
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/df67812c1ed907bd315852c0e5f11a3d0f07b4a7
df67812https://github.com/python/mypy/pull/19471/commits/df67812c1ed907bd315852c0e5f11a3d0f07b4a7
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
[PEP 695] Fix incorrect Variance Computation with Polymorphic Methods. #19466 https://github.com/python/mypy/pull/19466
1.19 Release Planning #19964 https://github.com/python/mypy/issues/19964
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Oct 11, 2025 https://github.com/python/mypy/pull/19471#pullrequestreview-3326447584
View reviewed changes https://github.com/python/mypy/pull/19471/files/df67812c1ed907bd315852c0e5f11a3d0f07b4a7
sterliakovhttps://github.com/sterliakov
https://github.com/python/mypy/pull/19471#pullrequestreview-3326447584
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19471
randolf-scholzhttps://github.com/randolf-scholz
October 11, 2025 18:53https://github.com/python/mypy/pull/19471#commits-pushed-41e59ac
https://github.com/randolf-scholz
Merge branch 'master' into fix_match_callablehttps://github.com/python/mypy/pull/19471/commits/41e59ac73129e417f245703afaadd52f7b17f508
41e59achttps://github.com/python/mypy/pull/19471/commits/41e59ac73129e417f245703afaadd52f7b17f508
https://github.com/randolf-scholz
updated conditional_types docstringhttps://github.com/python/mypy/pull/19471/commits/244ad9ea6e72fb1b25a507fd121f33b617f482fb
244ad9ehttps://github.com/python/mypy/pull/19471/commits/244ad9ea6e72fb1b25a507fd121f33b617f482fb
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Oct 11, 2025https://github.com/python/mypy/pull/19471#issuecomment-3393518294
@sterliakovhttps://github.com/sterliakov
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 16, 2025 https://github.com/python/mypy/pull/19471#pullrequestreview-3344833648
View reviewed changes https://github.com/python/mypy/pull/19471/files/244ad9ea6e72fb1b25a507fd121f33b617f482fb
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/19471#pullrequestreview-3344833648
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19471
mypy/checker.pyhttps://github.com/python/mypy/pull/19471/files/244ad9ea6e72fb1b25a507fd121f33b617f482fb#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/ilevkivskyi
Presevre original typehttps://github.com/python/mypy/pull/19471/commits/4a51dedfc41cb4515fa7844cc7202a51bde743b8
4a51dedhttps://github.com/python/mypy/pull/19471/commits/4a51dedfc41cb4515fa7844cc7202a51bde743b8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 16, 2025https://github.com/python/mypy/pull/19471#issuecomment-3410953203
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
9c26271https://github.com/python/mypy/commit/9c26271945ee7c9095d769f2138f4f2e969445ce
Oct 16, 2025https://github.com/python/mypy/pull/19471#event-20320885487
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Nov 6, 2025 https://github.com/python/mypy/pull/19471#ref-issue-3592917667
Narrow match value type based on earlier cases #20189 https://github.com/python/mypy/issues/20189
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Nov 18, 2025 https://github.com/python/mypy/pull/19471#ref-issue-3632944167
Inconsistent narrowing with different but equivalent callable constraints. pyrefly-org/pyrefly#1605 https://github.com/pyrefly-org/pyrefly/issues/1605
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 20, 2025 https://github.com/python/mypy/pull/19471#ref-issue-3748980597
[1.19 regression] Ternary expression involving a union with Any evaluated as redundant #20445 https://github.com/python/mypy/issues/20445
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 27, 2025 https://github.com/python/mypy/pull/19471#ref-issue-2025163600
False positive for class patterns when Callable is used #16617 https://github.com/python/mypy/issues/16617
https://github.com/headtr1ck
headtr1ckhttps://github.com/headtr1ck
Mar 18, 2026 https://github.com/python/mypy/pull/19471#ref-pullrequest-4066991111
Scipy stubs pydata/xarray#11225 https://github.com/pydata/xarray/pull/11225
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19471
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/19471/files/244ad9ea6e72fb1b25a507fd121f33b617f482fb
https://github.com/sterliakov
sterliakov https://github.com/sterliakov
https://github.com/python/mypy/pull/19471/files/df67812c1ed907bd315852c0e5f11a3d0f07b4a7
Please reload this pagehttps://github.com/python/mypy/pull/19471
match-case class checking against collection.abc.Callable raises error [misc] https://github.com/python/mypy/issues/14014
Please reload this pagehttps://github.com/python/mypy/pull/19471
https://github.com/randolf-scholz
https://github.com/sterliakov
https://github.com/ilevkivskyi
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.