René's URL Explorer Experiment


Title: Typecheck unreachable code by A5rocks · Pull Request #18707 · python/mypy · GitHub

Open Graph Title: Typecheck unreachable code by A5rocks · Pull Request #18707 · python/mypy

X Title: Typecheck unreachable code by A5rocks · Pull Request #18707 · python/mypy

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

Open Graph Description: Fixes [regression] no type checking beyond perceived isinstance guard failure #18329 Maybe type narrowing leads to "unreachable" code being actually reachable #12598 Maybe <nothing>...

X Description: Fixes [regression] no type checking beyond perceived isinstance guard failure #18329 Maybe type narrowing leads to &quot;unreachable&quot; code being actually reachable #12598 Maybe &lt...

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

X: @github

direct link

Domain: github.com

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:6738ae78-a0b9-aebd-69f2-075922dfa012
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC086:18E42A:D7EC94:121AECE:6A5945E4
html-safe-noncec78a6d686a5a7cccaaaf93080dbb71d3c76890443f1d4e54177084ad5f8bd736
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDg2OjE4RTQyQTpEN0VDOTQ6MTIxQUVDRTo2QTU5NDVFNCIsInZpc2l0b3JfaWQiOiIzMjg2OTY3OTI0MDAzNzg0MTY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb80c971ddadd697a0729b60d148226116217444cc66c540384af9333fc0929c2
hovercard-subject-tagpull_request:2344120359
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/18707/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/215c0bea693d8134c78bd5e047b1262c4d65adfb52d09d0d308560615b529f0b/python/mypy/pull/18707
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/215c0bea693d8134c78bd5e047b1262c4d65adfb52d09d0d308560615b529f0b/python/mypy/pull/18707
og:image:altFixes [regression] no type checking beyond perceived isinstance guard failure #18329 Maybe type narrowing leads to "unreachable" code being actually reachable #12598 Maybe <nothing>...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameA5rocks
hostnamegithub.com
expected-hostnamegithub.com
None9f801e05b35c85b2d72eae6534d2b1d4c02ba8732fd046450bab31e2f52450ce
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
release49918fc503387d6d65b6bc6ce6f711c14d17bfbd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/18707#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
Sign up https://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/18707
Reloadhttps://github.com/python/mypy/pull/18707
Reloadhttps://github.com/python/mypy/pull/18707
Please reload this pagehttps://github.com/python/mypy/pull/18707
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/18707
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.2k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.5k https://github.com/login?return_to=%2Fpython%2Fmypy
Code https://github.com/python/mypy
Issues 2.7k https://github.com/python/mypy/issues
Pull requests 466 https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality 0 https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
Code https://github.com/python/mypy
Issues https://github.com/python/mypy/issues
Pull requests https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
A5rockshttps://github.com/A5rocks
python:masterhttps://github.com/python/mypy/tree/master
A5rocks:experiments/typecheck-unreachablehttps://github.com/A5rocks/mypy/tree/experiments/typecheck-unreachable
Conversationhttps://github.com/python/mypy/pull/18707
Commits46 (46)https://github.com/python/mypy/pull/18707/commits
Checkshttps://github.com/python/mypy/pull/18707/checks
Files changedhttps://github.com/python/mypy/pull/18707/files
Typecheck unreachable codehttps://github.com/python/mypy/pull/18707#top
A5rockshttps://github.com/A5rocks
python:masterhttps://github.com/python/mypy/tree/master
A5rocks:experiments/typecheck-unreachablehttps://github.com/A5rocks/mypy/tree/experiments/typecheck-unreachable
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Feb 19, 2025https://github.com/python/mypy/pull/18707#issue-2862782964
Please reload this pagehttps://github.com/python/mypy/pull/18707
[regression] no type checking beyond perceived isinstance guard failure #18329https://github.com/python/mypy/issues/18329
type narrowing leads to "unreachable" code being actually reachable #12598https://github.com/python/mypy/issues/12598
object is not iterable #4330https://github.com/python/mypy/issues/4330
"Cannot determine type" if first assignment to attribute is unreachable #9709https://github.com/python/mypy/issues/9709
assert_type fails to fail for NoReturn #16319https://github.com/python/mypy/issues/16319
Union of Never can't be used #18779https://github.com/python/mypy/issues/18779
Please reload this pagehttps://github.com/python/mypy/pull/18707
A5rockshttps://github.com/A5rocks
February 19, 2025 15:21https://github.com/python/mypy/pull/18707#commits-pushed-be1071e
https://github.com/A5rocks
Start type checking unreachable codehttps://github.com/python/mypy/pull/18707/commits/be1071e454e5f012f8998e91a868e31c83efdad3
be1071ehttps://github.com/python/mypy/pull/18707/commits/be1071e454e5f012f8998e91a868e31c83efdad3
https://github.com/A5rocks
Pass self-checkhttps://github.com/python/mypy/pull/18707/commits/d9969181b7c388b72aade987b82bf60242c620d7
d996918https://github.com/python/mypy/pull/18707/commits/d9969181b7c388b72aade987b82bf60242c620d7
https://github.com/A5rocks
Hacky fix to narrow unreachable literalshttps://github.com/python/mypy/pull/18707/commits/07de5bfca7f26fe82a00f8d362de80556f7481a3
07de5bfhttps://github.com/python/mypy/pull/18707/commits/07de5bfca7f26fe82a00f8d362de80556f7481a3
https://github.com/A5rocks
20% of testshttps://github.com/python/mypy/pull/18707/commits/bac268b531833508e008eff08fb0d90195c1835a
bac268bhttps://github.com/python/mypy/pull/18707/commits/bac268b531833508e008eff08fb0d90195c1835a
https://github.com/A5rocks
25% of testshttps://github.com/python/mypy/pull/18707/commits/2da4b7c2eb46dc824ab6eed8fc221f3e021c5dc4
2da4b7chttps://github.com/python/mypy/pull/18707/commits/2da4b7c2eb46dc824ab6eed8fc221f3e021c5dc4
https://github.com/A5rocks
30% of testshttps://github.com/python/mypy/pull/18707/commits/ba9dab2018678d8c1296da3f61badf733e5a5bee
ba9dab2https://github.com/python/mypy/pull/18707/commits/ba9dab2018678d8c1296da3f61badf733e5a5bee
https://github.com/A5rocks
40% of testshttps://github.com/python/mypy/pull/18707/commits/7c39efa49687394fc8552dd018b896dc24d2ff77
7c39efahttps://github.com/python/mypy/pull/18707/commits/7c39efa49687394fc8552dd018b896dc24d2ff77
https://github.com/A5rocks
50% of testshttps://github.com/python/mypy/pull/18707/commits/18642d0c32e9cbc356ee568ee48683a1b62e1262
18642d0https://github.com/python/mypy/pull/18707/commits/18642d0c32e9cbc356ee568ee48683a1b62e1262
https://github.com/A5rocks
60% of testshttps://github.com/python/mypy/pull/18707/commits/879b27452e9175bf53d0542c4a2e882a447e8178
879b274https://github.com/python/mypy/pull/18707/commits/879b27452e9175bf53d0542c4a2e882a447e8178
https://github.com/A5rocks
Pass all testshttps://github.com/python/mypy/pull/18707/commits/c62093e07c8fb180cb8e7c2200d1c4269b641eb0
c62093ehttps://github.com/python/mypy/pull/18707/commits/c62093e07c8fb180cb8e7c2200d1c4269b641eb0
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
Narrow isinstance checks to Neverhttps://github.com/python/mypy/pull/18707/commits/e242b5e59367664b4ec656d863f2861c401af7fe
e242b5ehttps://github.com/python/mypy/pull/18707/commits/e242b5e59367664b4ec656d863f2861c401af7fe
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
A5rockshttps://github.com/A5rocks
February 20, 2025 20:11https://github.com/python/mypy/pull/18707#commits-pushed-69efb41
https://github.com/A5rocks
Don't treat reveal_type() as a no-ophttps://github.com/python/mypy/pull/18707/commits/69efb41ad4b44e7d0c802a801355a1b5876ca641
69efb41https://github.com/python/mypy/pull/18707/commits/69efb41ad4b44e7d0c802a801355a1b5876ca641
https://github.com/A5rocks
Ensure functions with typevar values don't get false positiveshttps://github.com/python/mypy/pull/18707/commits/f846af7b57694196ef15df3f24894b93dea3ec00
f846af7https://github.com/python/mypy/pull/18707/commits/f846af7b57694196ef15df3f24894b93dea3ec00
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
A5rockshttps://github.com/A5rocks
February 21, 2025 12:08https://github.com/python/mypy/pull/18707#commits-pushed-390ade8
https://github.com/A5rocks
Ensure that .x is Neverhttps://github.com/python/mypy/pull/18707/commits/390ade859652d2db685268a9f70d1ea9955b53eb
390ade8https://github.com/python/mypy/pull/18707/commits/390ade859652d2db685268a9f70d1ea9955b53eb
https://github.com/A5rocks
Ensure that () is Neverhttps://github.com/python/mypy/pull/18707/commits/f3ba1494689364d50b8c11c45110bb8102a5149f
f3ba149https://github.com/python/mypy/pull/18707/commits/f3ba1494689364d50b8c11c45110bb8102a5149f
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Feb 24, 2025 https://github.com/python/mypy/pull/18707#ref-pullrequest-2811729737
Fix --warn-unreachable fall-through from ALWAYS_TRUE ifs #18539 https://github.com/python/mypy/pull/18539
A5rockshttps://github.com/A5rocks
February 24, 2025 12:37https://github.com/python/mypy/pull/18707#commits-pushed-92a4428
https://github.com/A5rocks
Only report unreachability oncehttps://github.com/python/mypy/pull/18707/commits/92a4428bf4f221810eefb7d197bbf4776aaf3908
92a4428https://github.com/python/mypy/pull/18707/commits/92a4428bf4f221810eefb7d197bbf4776aaf3908
https://github.com/A5rocks
Narrow callable checks to Neverhttps://github.com/python/mypy/pull/18707/commits/c76d422e9a4ac2f29fd2c23ade0f0613f31178c4
c76d422https://github.com/python/mypy/pull/18707/commits/c76d422e9a4ac2f29fd2c23ade0f0613f31178c4
https://github.com/A5rocks
Address CI failureshttps://github.com/python/mypy/pull/18707/commits/be1d524769052bf7f6f872d7a523fcf7754b3bf7
be1d524https://github.com/python/mypy/pull/18707/commits/be1d524769052bf7f6f872d7a523fcf7754b3bf7
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
A5rockshttps://github.com/A5rocks
February 24, 2025 15:03https://github.com/python/mypy/pull/18707#commits-pushed-13ad1cb
https://github.com/A5rocks
Narrow match captures to Neverhttps://github.com/python/mypy/pull/18707/commits/13ad1cb54c01ee320201883ae4fbb653c8ff36d7
13ad1cbhttps://github.com/python/mypy/pull/18707/commits/13ad1cb54c01ee320201883ae4fbb653c8ff36d7
https://github.com/A5rocks
Don't check unreachable code with partial typeshttps://github.com/python/mypy/pull/18707/commits/53553e7af2520a26a4ffc0cf91aab032e9b12196
53553e7https://github.com/python/mypy/pull/18707/commits/53553e7af2520a26a4ffc0cf91aab032e9b12196
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
A5rockshttps://github.com/A5rocks
February 24, 2025 16:19https://github.com/python/mypy/pull/18707#commits-pushed-6cc9930
https://github.com/A5rocks
Avoid strange behavior regarding "narrowing" expressions for unreacha…https://github.com/python/mypy/pull/18707/commits/6cc9930542b2d25a0258fd81d65976b13d5b680b
6cc9930https://github.com/python/mypy/pull/18707/commits/6cc9930542b2d25a0258fd81d65976b13d5b680b
https://github.com/A5rocks
Unpack Never iterableshttps://github.com/python/mypy/pull/18707/commits/4ddd34ea9061b1036b51596aa0a51d2abac88427
4ddd34ehttps://github.com/python/mypy/pull/18707/commits/4ddd34ea9061b1036b51596aa0a51d2abac88427
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
Ensure --strict-equality works correctly with partial typeshttps://github.com/python/mypy/pull/18707/commits/390388a8d35446f927c7334c57b442530c8aeac6
390388ahttps://github.com/python/mypy/pull/18707/commits/390388a8d35446f927c7334c57b442530c8aeac6
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Mar 11, 2025 https://github.com/python/mypy/pull/18707#ref-issue-2907792166
Union of Never can't be used #18779 https://github.com/python/mypy/issues/18779
https://github.com/A5rocks
Support Never callables in pluginshttps://github.com/python/mypy/pull/18707/commits/dc8ed710790802ded7fe9ca5f079747fd77da220
dc8ed71https://github.com/python/mypy/pull/18707/commits/dc8ed710790802ded7fe9ca5f079747fd77da220
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Mar 13, 2025https://github.com/python/mypy/pull/18707#issuecomment-2720688815
Please reload this pagehttps://github.com/python/mypy/pull/18707
https://github.com/A5rocks
Add a test about narrowing behaviorhttps://github.com/python/mypy/pull/18707/commits/102ac11a7a12af415d0fbb14ce5628dcc6841427
102ac11https://github.com/python/mypy/pull/18707/commits/102ac11a7a12af415d0fbb14ce5628dcc6841427
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
March 13, 2025 10:42https://github.com/python/mypy/pull/18707#event-16732847942
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Mar 17, 2025 https://github.com/python/mypy/pull/18707#pullrequestreview-2690600505
View reviewed changes https://github.com/python/mypy/pull/18707/files/102ac11a7a12af415d0fbb14ce5628dcc6841427
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/18707#pullrequestreview-2690600505
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/18707
mypyc/ir/pprint.pyhttps://github.com/python/mypy/pull/18707/files/102ac11a7a12af415d0fbb14ce5628dcc6841427#diff-15226745bbcf2cc3fc0f6d74409538ca70a7860041c4288bf1da0b510fd7a0c9
Please reload this pagehttps://github.com/python/mypy/pull/18707
mypy/checkexpr.pyhttps://github.com/python/mypy/pull/18707/files/102ac11a7a12af415d0fbb14ce5628dcc6841427#diff-42eda644ce5003e33ea0766d7601fcfb4934ad106429abfe115954a1fccddd07
Please reload this pagehttps://github.com/python/mypy/pull/18707
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Mar 17, 2025https://github.com/python/mypy/pull/18707#issuecomment-2729621677
Please reload this pagehttps://github.com/python/mypy/pull/18707
https://github.com/A5rocks
Merge remote-tracking branch 'upstream/master' into experiments/typec…https://github.com/python/mypy/pull/18707/commits/f7f8915fcbfa1401a3d3cd2fb2cad45bbfa92520
f7f8915https://github.com/python/mypy/pull/18707/commits/f7f8915fcbfa1401a3d3cd2fb2cad45bbfa92520
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
Merge branch 'master' into experiments/typecheck-unreachablehttps://github.com/python/mypy/pull/18707/commits/bc8cb9032c04d9856036470bc6f690e201a75740
bc8cb90https://github.com/python/mypy/pull/18707/commits/bc8cb9032c04d9856036470bc6f690e201a75740
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
JukkaLhttps://github.com/JukkaL
March 31, 2025 14:42https://github.com/python/mypy/pull/18707#event-17058666824
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
Address PR reviewhttps://github.com/python/mypy/pull/18707/commits/ac03c88d51b8e41dd9dd57748d01a9874584b988
ac03c88https://github.com/python/mypy/pull/18707/commits/ac03c88d51b8e41dd9dd57748d01a9874584b988
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
https://github.com/A5rocks
Add an option to enable checking unreachable codehttps://github.com/python/mypy/pull/18707/commits/4f319bb2e0ef90762d7cf0f966f690780aa33740
4f319bbhttps://github.com/python/mypy/pull/18707/commits/4f319bb2e0ef90762d7cf0f966f690780aa33740
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18707
A5rockshttps://github.com/A5rocks
April 10, 2025 00:59https://github.com/python/mypy/pull/18707#commits-pushed-d5e4a47
https://github.com/A5rocks
Update test cases to passhttps://github.com/python/mypy/pull/18707/commits/d5e4a475205c79928bb437c33af590114b51ec9d
d5e4a47https://github.com/python/mypy/pull/18707/commits/d5e4a475205c79928bb437c33af590114b51ec9d
https://github.com/A5rocks
Don't typecheck unreachable noopshttps://github.com/python/mypy/pull/18707/commits/730d9ee61c6f8d07b825de6fdd5b8942a48d0a3a
730d9eehttps://github.com/python/mypy/pull/18707/commits/730d9ee61c6f8d07b825de6fdd5b8942a48d0a3a
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 9, 2025https://github.com/python/mypy/pull/18707#issuecomment-2790351229
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/18707
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Apr 25, 2025 https://github.com/python/mypy/pull/18707#ref-issue-3020098602
Change of binder behavior whan narrowing to unrelated type #18967 https://github.com/python/mypy/issues/18967
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Aug 10, 2025 https://github.com/python/mypy/pull/18707#ref-pullrequest-3307443515
Fix --strict-equality for iteratively visited code #19635 https://github.com/python/mypy/pull/19635
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 31, 2025 https://github.com/python/mypy/pull/18707#ref-pullrequest-3769650923
Rework narrowing logic for equality and identity #20492 https://github.com/python/mypy/pull/20492
Improve reachability in narrowing logic #20660 https://github.com/python/mypy/pull/20660
Preserve narrowing in unreachable code #20710 https://github.com/python/mypy/pull/20710
hauntsaninjahttps://github.com/hauntsaninja
Feb 3, 2026 https://github.com/python/mypy/pull/18707#ref-commit-606973f
https://github.com/hauntsaninja
Preserve narrowing in unreachable code (https://github.com/python/mypy/commit/606973fe7078a63ff52e1129fe3f43ecea392296
#20710https://github.com/python/mypy/pull/20710
)https://github.com/python/mypy/commit/606973fe7078a63ff52e1129fe3f43ecea392296
606973fhttps://github.com/python/mypy/commit/606973fe7078a63ff52e1129fe3f43ecea392296
#18707https://github.com/python/mypy/pull/18707
#18707https://github.com/python/mypy/pull/18707
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Feb 10, 2026https://github.com/python/mypy/pull/18707#issuecomment-3875049116
Please reload this pagehttps://github.com/python/mypy/pull/18707
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Feb 10, 2026https://github.com/python/mypy/pull/18707#event-22660992055
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 10, 2026https://github.com/python/mypy/pull/18707#issuecomment-3875117237
Please reload this pagehttps://github.com/python/mypy/pull/18707
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%2F18707
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/A5rocks
A5rocks https://github.com/A5rocks
Union of Never can't be used https://github.com/python/mypy/issues/18779
[regression] no type checking beyond perceived isinstance guard failure https://github.com/python/mypy/issues/18329
assert_type fails to fail for NoReturn https://github.com/python/mypy/issues/16319
"Cannot determine type" if first assignment to attribute is unreachable https://github.com/python/mypy/issues/9709
Please reload this pagehttps://github.com/python/mypy/pull/18707
https://github.com/A5rocks
https://github.com/JukkaL
https://github.com/hauntsaninja
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.