René's URL Explorer Experiment


Title: Re-work overload overlap logic by ilevkivskyi · Pull Request #17392 · python/mypy · GitHub

Open Graph Title: Re-work overload overlap logic by ilevkivskyi · Pull Request #17392 · python/mypy

X Title: Re-work overload overlap logic by ilevkivskyi · Pull Request #17392 · python/mypy

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

Open Graph Description: Fixes #5510 OK, so I noticed during last couple years, that every other time I change something about type variables, a few unsafe overload overlap errors either appears or disappears. At some poin...

X Description: Fixes #5510 OK, so I noticed during last couple years, that every other time I change something about type variables, a few unsafe overload overlap errors either appears or disappears. At some poin...

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

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:4b89d035-a974-3cca-17cd-4f496f256edc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE7A:22E601:2CD74:3CEA3:6B0019F2
html-safe-nonce64b84c0264f5ea52073d3a6caade8ad942971e8e6047b2e04cf13b46873042f6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTdBOjIyRTYwMToyQ0Q3NDozQ0VBMzo2QjAwMTlGMiIsInZpc2l0b3JfaWQiOiI0ODgwNzQ5NzAwMDY1NTkyMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9c00c824821dfb562e5b351236b4954365a70ade9b19729db59f7c2b32ecfea6
hovercard-subject-tagpull_request:1922914998
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/17392/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5991e9b999a829a9c7dbe5203c9bbd22d210f9b92999f507b5e00cec1725b9fd/python/mypy/pull/17392
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5991e9b999a829a9c7dbe5203c9bbd22d210f9b92999f507b5e00cec1725b9fd/python/mypy/pull/17392
og:image:altFixes #5510 OK, so I noticed during last couple years, that every other time I change something about type variables, a few unsafe overload overlap errors either appears or disappears. At some poin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/17392#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17392
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%2F17392
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/17392
Reloadhttps://github.com/python/mypy/pull/17392
Reloadhttps://github.com/python/mypy/pull/17392
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
ilevkivskyi:overload-overlaphttps://github.com/ilevkivskyi/mypy/tree/overload-overlap
Conversationhttps://github.com/python/mypy/pull/17392
Commits13 (13)https://github.com/python/mypy/pull/17392/commits
Checkshttps://github.com/python/mypy/pull/17392/checks
Files changedhttps://github.com/python/mypy/pull/17392/files
Re-work overload overlap logichttps://github.com/python/mypy/pull/17392#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:overload-overlaphttps://github.com/ilevkivskyi/mypy/tree/overload-overlap
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 16, 2024https://github.com/python/mypy/pull/17392#issue-2355854550
Please reload this pagehttps://github.com/python/mypy/pull/17392
#5510https://github.com/python/mypy/issues/5510
Please reload this pagehttps://github.com/python/mypy/pull/17392
ilevkivskyihttps://github.com/ilevkivskyi
June 16, 2024 17:02https://github.com/python/mypy/pull/17392#commits-pushed-4c5fc17
https://github.com/ilevkivskyi
Re-work overload overlap logichttps://github.com/python/mypy/pull/17392/commits/4c5fc17869175b9451ead80e22865b663e1cee38
4c5fc17https://github.com/python/mypy/pull/17392/commits/4c5fc17869175b9451ead80e22865b663e1cee38
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/17392/commits/fb427c052887c31439d3fb44cdab5953afbc0538
fb427c0https://github.com/python/mypy/pull/17392/commits/fb427c052887c31439d3fb44cdab5953afbc0538
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%2F17392
ilevkivskyihttps://github.com/ilevkivskyi
June 17, 2024 01:15https://github.com/python/mypy/pull/17392#commits-pushed-cc122e2
https://github.com/ilevkivskyi
Another experimenthttps://github.com/python/mypy/pull/17392/commits/cc122e245e3cc28ca385b78f2de7d6bd03f1e3d2
cc122e2https://github.com/python/mypy/pull/17392/commits/cc122e245e3cc28ca385b78f2de7d6bd03f1e3d2
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/17392/commits/7c10a21b92ea06ea65317ffc8beb7a65cebfb954
7c10a21https://github.com/python/mypy/pull/17392/commits/7c10a21b92ea06ea65317ffc8beb7a65cebfb954
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%2F17392
ilevkivskyihttps://github.com/ilevkivskyi
June 17, 2024 09:16https://github.com/python/mypy/pull/17392#commits-pushed-cce3d00
https://github.com/ilevkivskyi
Verify contravariance handlinghttps://github.com/python/mypy/pull/17392/commits/cce3d00097ea41cb8407b9651d300e19193ee075
cce3d00https://github.com/python/mypy/pull/17392/commits/cce3d00097ea41cb8407b9651d300e19193ee075
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/17392/commits/ce5ef00750b78a414be2ee6df543932a0ca8b6b6
ce5ef00https://github.com/python/mypy/pull/17392/commits/ce5ef00750b78a414be2ee6df543932a0ca8b6b6
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%2F17392
https://github.com/ilevkivskyi
Try a bit more pragmatic approachhttps://github.com/python/mypy/pull/17392/commits/39003861f4c59dd1325bda008d331f5c219e5aa8
3900386https://github.com/python/mypy/pull/17392/commits/39003861f4c59dd1325bda008d331f5c219e5aa8
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17392
ilevkivskyihttps://github.com/ilevkivskyi
June 17, 2024 23:47https://github.com/python/mypy/pull/17392#commits-pushed-6f4c29d
https://github.com/ilevkivskyi
Merge remote-tracking branch 'upstream/master' into overload-overlaphttps://github.com/python/mypy/pull/17392/commits/6f4c29d1de36e85bfbad76965ae19da87b480b36
6f4c29dhttps://github.com/python/mypy/pull/17392/commits/6f4c29d1de36e85bfbad76965ae19da87b480b36
https://github.com/ilevkivskyi
Update testshttps://github.com/python/mypy/pull/17392/commits/5ee882637aaa6dd624ac23e1549a2c30ec7c3239
5ee8826https://github.com/python/mypy/pull/17392/commits/5ee882637aaa6dd624ac23e1549a2c30ec7c3239
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
June 17, 2024 23:41https://github.com/python/mypy/pull/17392#event-13192899083
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
JukkaLhttps://github.com/JukkaL
hauntsaninjahttps://github.com/hauntsaninja
June 17, 2024 23:42https://github.com/python/mypy/pull/17392#event-13192899936
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17392
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jun 18, 2024https://github.com/python/mypy/pull/17392#issuecomment-2175818515
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 18, 2024https://github.com/python/mypy/pull/17392#issuecomment-2175827602
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jun 18, 2024https://github.com/python/mypy/pull/17392#issuecomment-2175987008
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jun 18, 2024 https://github.com/python/mypy/pull/17392#ref-pullrequest-2359694035
Make syntax of generic overload variants in messages close to PEP 695 #17401 https://github.com/python/mypy/pull/17401
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 18, 2024https://github.com/python/mypy/pull/17392#issuecomment-2176153332
https://github.com/python/typeshed/blob/c303b3221e7cb487e21791833bf60b09f51b6c48/stdlib/builtins.pyi#L1676https://github.com/python/typeshed/blob/c303b3221e7cb487e21791833bf60b09f51b6c48/stdlib/builtins.pyi#L1676
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/ilevkivskyi
Add some comments, docs, and testshttps://github.com/python/mypy/pull/17392/commits/05a2086b65dbf40985faf0fd5579e0de56b01d97
05a2086https://github.com/python/mypy/pull/17392/commits/05a2086b65dbf40985faf0fd5579e0de56b01d97
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F17392
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 19, 2024https://github.com/python/mypy/pull/17392#issuecomment-2177318102
Please reload this pagehttps://github.com/python/mypy/pull/17392
ilevkivskyihttps://github.com/ilevkivskyi
June 19, 2024 09:58https://github.com/python/mypy/pull/17392#commits-pushed-bf96e6d
https://github.com/ilevkivskyi
Add flip order notehttps://github.com/python/mypy/pull/17392/commits/bf96e6d08880aebbfc42fe2a99937113efa97f07
bf96e6dhttps://github.com/python/mypy/pull/17392/commits/bf96e6d08880aebbfc42fe2a99937113efa97f07
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/17392/commits/c154ad15322a2ed7c8951479168aa7fee26e2a8e
c154ad1https://github.com/python/mypy/pull/17392/commits/c154ad15322a2ed7c8951479168aa7fee26e2a8e
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%2F17392
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 19, 2024https://github.com/python/mypy/pull/17392#issuecomment-2178213931
@JelleZijlstrahttps://github.com/JelleZijlstra
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/hauntsaninja
Merge branch 'master' into overload-overlaphttps://github.com/python/mypy/pull/17392/commits/4f1bcf24b979448ba42eb4dc3e013f9eadccaff8
4f1bcf2https://github.com/python/mypy/pull/17392/commits/4f1bcf24b979448ba42eb4dc3e013f9eadccaff8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 19, 2024https://github.com/python/mypy/pull/17392#issuecomment-2179258904
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
7cb733ahttps://github.com/python/mypy/commit/7cb733ad42eccaccd29380d46d5c222ccc2788cb
Jun 19, 2024https://github.com/python/mypy/pull/17392#event-13221440207
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
June 19, 2024 22:48https://github.com/python/mypy/pull/17392#event-13221440422
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 20, 2024 https://github.com/python/mypy/pull/17392#ref-issue-2364656201
Disable mypy overload-overlap warnings? python/typeshed#12178 https://github.com/python/typeshed/issues/12178
Mypy doesn't seem to use types from @overload-ed __sub__ #11613 https://github.com/python/mypy/issues/11613
Incorrect overalp detected in __rmod__ with str argument #7402 https://github.com/python/mypy/issues/7402
False positive "unsafe[] overlapping" for _floordiv__/__rfloordiv__ with Real argument, but nearly identical signatures for other operators are fine #10755 https://github.com/python/mypy/issues/10755
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Aug 1, 2024 https://github.com/python/mypy/pull/17392#ref-pullrequest-2439237822
Bump mypy to 1.11.1 python/typeshed#12463 https://github.com/python/typeshed/pull/12463
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jan 15, 2025 https://github.com/python/mypy/pull/17392#ref-issue-2333370133
Crash on diverging recursive generic protocols #17326 https://github.com/python/mypy/issues/17326
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jan 22, 2025 https://github.com/python/mypy/pull/17392#ref-issue-1597267373
False-positive "Overloaded function signatures overlap with incompatible return types" #14770 https://github.com/python/mypy/issues/14770
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Feb 1, 2025 https://github.com/python/mypy/pull/17392#ref-issue-2825399568
Regression: overload signatures with default parameters no longer reported as overlapping #18581 https://github.com/python/mypy/issues/18581
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 19, 2025 https://github.com/python/mypy/pull/17392#ref-issue-3743147012
extremely slow type checking for constrained TypeVars and overloads on generic classes #20439 https://github.com/python/mypy/issues/20439
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%2F17392
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/17392
Moving an overloaded generic function into a class can sometimes introduce "incompatible return type" errors https://github.com/python/mypy/issues/5510
Please reload this pagehttps://github.com/python/mypy/pull/17392
https://github.com/ilevkivskyi
https://github.com/JukkaL
https://github.com/JelleZijlstra
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.