René's URL Explorer Experiment


Title: Use union types instead of join in binder by ilevkivskyi · Pull Request #18538 · python/mypy · GitHub

Open Graph Title: Use union types instead of join in binder by ilevkivskyi · Pull Request #18538 · python/mypy

X Title: Use union types instead of join in binder by ilevkivskyi · Pull Request #18538 · python/mypy

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

Open Graph Description: This would be more consistent with what we already do for ternary expressions. Note the change in match test results from match logic not handling well the situation when initial type is a union. A...

X Description: This would be more consistent with what we already do for ternary expressions. Note the change in match test results from match logic not handling well the situation when initial type is a union. A...

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

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:6a6365f8-1628-94a7-7f66-df7908525294
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB70:30263F:2231F69:2E87FE2:6B002911
html-safe-nonce69969af69a853109a11ca22dc40761692d4596ffc3ccd1d19c85fa5c3cc48871
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjcwOjMwMjYzRjoyMjMxRjY5OjJFODdGRTI6NkIwMDI5MTEiLCJ2aXNpdG9yX2lkIjoiNDYzNDU4MDM4NTMyMDI0NTkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9e4fa9e898f302d2ce16b2f611a68ac38b0ae21cff28972414f7447e60cfd545
hovercard-subject-tagpull_request:2298612799
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/18538/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d3a6b171e04e3e7e20e3c85bba19492227f268fad3761050c0a0ca7fcfea12bb/python/mypy/pull/18538
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3a6b171e04e3e7e20e3c85bba19492227f268fad3761050c0a0ca7fcfea12bb/python/mypy/pull/18538
og:image:altThis would be more consistent with what we already do for ternary expressions. Note the change in match test results from match logic not handling well the situation when initial type is a union. A...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/18538#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
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%2F18538
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/18538
Reloadhttps://github.com/python/mypy/pull/18538
Reloadhttps://github.com/python/mypy/pull/18538
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 requests547 (547)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
ilevkivskyi:binder-use-unionhttps://github.com/ilevkivskyi/mypy/tree/binder-use-union
Conversationhttps://github.com/python/mypy/pull/18538
Commits10 (10)https://github.com/python/mypy/pull/18538/commits
Checkshttps://github.com/python/mypy/pull/18538/checks
Files changedhttps://github.com/python/mypy/pull/18538/files
Use union types instead of join in binderhttps://github.com/python/mypy/pull/18538#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:binder-use-unionhttps://github.com/ilevkivskyi/mypy/tree/binder-use-union
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 26, 2025https://github.com/python/mypy/pull/18538#issue-2811547984
Please reload this pagehttps://github.com/python/mypy/pull/18538
#3724https://github.com/python/mypy/issues/3724
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
Use union types instead of join in binderhttps://github.com/python/mypy/pull/18538/commits/b435a03da1224b659152b5bd752b845dd54be7ea
b435a03https://github.com/python/mypy/pull/18538/commits/b435a03da1224b659152b5bd752b845dd54be7ea
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
Fix self-checkhttps://github.com/python/mypy/pull/18538/commits/6e99af4cc5e677e24387af997138348c48e264e6
6e99af4https://github.com/python/mypy/pull/18538/commits/6e99af4cc5e677e24387af997138348c48e264e6
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
Fix edge casehttps://github.com/python/mypy/pull/18538/commits/a95bb8eaa8ce80c455491b8f59a11f9df16b8a2f
a95bb8ehttps://github.com/python/mypy/pull/18538/commits/a95bb8eaa8ce80c455491b8f59a11f9df16b8a2f
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
Limit legacy guard scopehttps://github.com/python/mypy/pull/18538/commits/0c05643b8df85de58478109dc0de123e4005f61d
0c05643https://github.com/python/mypy/pull/18538/commits/0c05643b8df85de58478109dc0de123e4005f61d
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 26, 2025https://github.com/python/mypy/pull/18538#issuecomment-2614565650
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
Remove most of Any special-casing in binderhttps://github.com/python/mypy/pull/18538/commits/46b682c2add7c5a9e43c7f854e1ec2837389872e
46b682chttps://github.com/python/mypy/pull/18538/commits/46b682c2add7c5a9e43c7f854e1ec2837389872e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 26, 2025https://github.com/python/mypy/pull/18538#issuecomment-2614598576
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
JukkaLhttps://github.com/JukkaL
hauntsaninjahttps://github.com/hauntsaninja
January 26, 2025 21:30https://github.com/python/mypy/pull/18538#event-16071122233
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Jan 26, 2025 https://github.com/python/mypy/pull/18538#pullrequestreview-2574405664
View reviewed changes https://github.com/python/mypy/pull/18538/files/46b682c2add7c5a9e43c7f854e1ec2837389872e
test-data/unit/check-unreachable-code.testhttps://github.com/python/mypy/pull/18538/files/46b682c2add7c5a9e43c7f854e1ec2837389872e#diff-cd456843a4ec53f88d553e542403cd68e536db6fd6462d14baaccac1518bffc2
A5rockshttps://github.com/A5rocks
Jan 26, 2025https://github.com/python/mypy/pull/18538#discussion_r1929883096
Please reload this pagehttps://github.com/python/mypy/pull/18538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#18386https://github.com/python/mypy/issues/18386
Please reload this pagehttps://github.com/python/mypy/pull/18538
ilevkivskyihttps://github.com/ilevkivskyi
Jan 27, 2025https://github.com/python/mypy/pull/18538#discussion_r1930336164
Please reload this pagehttps://github.com/python/mypy/pull/18538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jan 27, 2025https://github.com/python/mypy/pull/18538#issuecomment-2614655771
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 27, 2025https://github.com/python/mypy/pull/18538#issuecomment-2615422249
@cdce8phttps://github.com/cdce8p
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jan 27, 2025https://github.com/python/mypy/pull/18538#issuecomment-2615493368
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 27, 2025https://github.com/python/mypy/pull/18538#issuecomment-2616427087
#18516https://github.com/python/mypy/issues/18516
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 27, 2025https://github.com/python/mypy/pull/18538#issuecomment-2617061309
@JukkaLhttps://github.com/JukkaL
@cdce8phttps://github.com/cdce8p
#2008https://github.com/python/mypy/issues/2008
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jan 27, 2025https://github.com/python/mypy/pull/18538#issuecomment-2617100362
@cdce8phttps://github.com/cdce8p
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 28, 2025https://github.com/python/mypy/pull/18538#issuecomment-2618848400
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
Try some compromise varianthttps://github.com/python/mypy/pull/18538/commits/1b5cdebab3f1368d16e33301ab62785535ef45f8
1b5cdebhttps://github.com/python/mypy/pull/18538/commits/1b5cdebab3f1368d16e33301ab62785535ef45f8
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
Update testhttps://github.com/python/mypy/pull/18538/commits/efaaa90e8cc8e1b3506f161a57ab71c5a2e740c4
efaaa90https://github.com/python/mypy/pull/18538/commits/efaaa90e8cc8e1b3506f161a57ab71c5a2e740c4
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jan 29, 2025https://github.com/python/mypy/pull/18538#issuecomment-2621356926
Please reload this pagehttps://github.com/python/mypy/pull/18538
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 29, 2025 https://github.com/python/mypy/pull/18538#ref-issue-2818309727
Infer union types from multiple assigments #18568 https://github.com/python/mypy/issues/18568
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jan 31, 2025https://github.com/python/mypy/pull/18538#issuecomment-2627001167
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 31, 2025https://github.com/python/mypy/pull/18538#issuecomment-2627427907
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18538
https://github.com/ilevkivskyi
Update another testhttps://github.com/python/mypy/pull/18538/commits/57d065d04ecac88b421e5156141753767804ad3c
57d065dhttps://github.com/python/mypy/pull/18538/commits/57d065d04ecac88b421e5156141753767804ad3c
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 31, 2025https://github.com/python/mypy/pull/18538#issuecomment-2628567914
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Feb 1, 2025https://github.com/python/mypy/pull/18538#issuecomment-2629120629
Please reload this pagehttps://github.com/python/mypy/pull/18538
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 1, 2025https://github.com/python/mypy/pull/18538#issuecomment-2629122560
@cdce8phttps://github.com/cdce8p
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 1, 2025https://github.com/python/mypy/pull/18538#issuecomment-2629123923
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 1, 2025https://github.com/python/mypy/pull/18538#issuecomment-2629143219
@cdce8phttps://github.com/cdce8p
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Feb 2, 2025https://github.com/python/mypy/pull/18538#issuecomment-2629182365
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 2, 2025https://github.com/python/mypy/pull/18538#issuecomment-2629362688
@cdce8phttps://github.com/cdce8p
#3526https://github.com/python/mypy/issues/3526
#3431https://github.com/python/mypy/issues/3431
#3724https://github.com/python/mypy/issues/3724
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Feb 3, 2025https://github.com/python/mypy/pull/18538#issuecomment-2631019217
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 5, 2025https://github.com/python/mypy/pull/18538#issuecomment-2635452403
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
b50f3a1https://github.com/python/mypy/commit/b50f3a1a44038b5f6304f77263f6e08c157f9aa8
Feb 5, 2025https://github.com/python/mypy/pull/18538#event-16187043877
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
February 5, 2025 00:42https://github.com/python/mypy/pull/18538#event-16187044337
x612skmhttps://github.com/x612skm
Feb 24, 2025 https://github.com/python/mypy/pull/18538#ref-commit-323f300
https://github.com/ilevkivskyi
https://github.com/x612skm
Use union types instead of join in binder (https://github.com/x612skm/mypy-dev/commit/323f3002b4cf2e7ebe8734f034977c37254f361e
python#18538https://github.com/python/mypy/pull/18538
)https://github.com/x612skm/mypy-dev/commit/323f3002b4cf2e7ebe8734f034977c37254f361e
323f300https://github.com/x612skm/mypy-dev/commit/323f3002b4cf2e7ebe8734f034977c37254f361e
python#3724https://github.com/python/mypy/issues/3724
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Mar 28, 2025 https://github.com/python/mypy/pull/18538#ref-issue-1242651169
Returning optional union from method complains about got "object" #12823 https://github.com/python/mypy/issues/12823
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Apr 18, 2025 https://github.com/python/mypy/pull/18538#ref-issue-1013020155
Support assertion style type guards in exhaustive branch analysis #11238 https://github.com/python/mypy/issues/11238
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Apr 25, 2025 https://github.com/python/mypy/pull/18538#ref-issue-3020098602
Change of binder behavior whan narrowing to unrelated type #18967 https://github.com/python/mypy/issues/18967
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
May 7, 2025 https://github.com/python/mypy/pull/18538#ref-issue-3040139009
[1.16 regression] Explicit type declaration overridden/merged with Any #19034 https://github.com/python/mypy/issues/19034
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
May 19, 2025 https://github.com/python/mypy/pull/18538#ref-issue-2798878975
False narrowing with repeated assignment inside if resulting in bad false negative #18492 https://github.com/python/mypy/issues/18492
False error: Never has no attribute "foo" [attr-defined] #17198 https://github.com/python/mypy/issues/17198
1.16 changed behavior of redefined variable to None #19280 https://github.com/python/mypy/issues/19280
https://github.com/cobaltt7
cobaltt7https://github.com/cobaltt7
Jul 11, 2025 https://github.com/python/mypy/pull/18538#ref-pullrequest-3210201949
[pre-commit.ci] pre-commit autoupdate psf/black#4702 https://github.com/psf/black/pull/4702
Inheritance + if/elif/else chain of isinstance() doesn't constrain type as expected #4864 https://github.com/python/mypy/issues/4864
Incorrect type narrowing for select class hierarchies #16379 https://github.com/python/mypy/issues/16379
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 30, 2025 https://github.com/python/mypy/pull/18538#ref-issue-3768929279
Check #18538 sterliakov/mypy-issues#235 https://github.com/sterliakov/mypy-issues/issues/235
Incorrect type reification on optional union attribute in conditional #7884 https://github.com/python/mypy/issues/7884
More specific type inference from structural pattern matching #16657 https://github.com/python/mypy/issues/16657
inconsistency in typing, depending whether imported function from subfolder or explicitly type hinted return #12580 https://github.com/python/mypy/issues/12580
type is not recalculated when it was previously a List[Any] #8540 https://github.com/python/mypy/issues/8540
Inferring a more precise type on assignment to a variable with Any type #2928 https://github.com/python/mypy/issues/2928
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%2F18538
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/A5rocks
A5rocks https://github.com/A5rocks
https://github.com/python/mypy/pull/18538/files/46b682c2add7c5a9e43c7f854e1ec2837389872e
Please reload this pagehttps://github.com/python/mypy/pull/18538
Assigning a variable to the result of an untyped method removes any existing type constraints https://github.com/python/mypy/issues/3724
Please reload this pagehttps://github.com/python/mypy/pull/18538
https://github.com/ilevkivskyi
https://github.com/cdce8p
https://github.com/JukkaL
https://github.com/A5rocks
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.