René's URL Explorer Experiment


Title: Only consider meta variables in ambiguous "any of" constraints by sterliakov · Pull Request #18986 · python/mypy · GitHub

Open Graph Title: Only consider meta variables in ambiguous "any of" constraints by sterliakov · Pull Request #18986 · python/mypy

X Title: Only consider meta variables in ambiguous "any of" constraints by sterliakov · Pull Request #18986 · python/mypy

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

Open Graph Description: Sometimes our constraints builder needs to express "at least one of these constraints must be true". Sometimes it's trivial, but sometimes they have nothing in common - in that case w...

X Description: Sometimes our constraints builder needs to express "at least one of these constraints must be true". Sometimes it's trivial, but sometimes they have nothing in common - in...

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

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:6081e614-93d2-017b-dd5a-53d54b8d81a9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88B0:30CAE9:E8C7D:1313A7:6A5E6A22
html-safe-nonce5654c1aeb2d14e3327d7fc1a75f22f745cf4a9758e3a8e51c9ec1ada02728895
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEIwOjMwQ0FFOTpFOEM3RDoxMzEzQTc6NkE1RTZBMjIiLCJ2aXNpdG9yX2lkIjoiNDE4Njc3MTMyNDkzMjA5MDQwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac893b875671b5437fbdbae7153df2edbb42aaad0996c87d9c4eb28d0891994fa9
hovercard-subject-tagpull_request:2484485547
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/18986/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/69250eb240f2a9450de6cb0ef4787d5d413fc96f2a85f522f69677ddab613d5a/python/mypy/pull/18986
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69250eb240f2a9450de6cb0ef4787d5d413fc96f2a85f522f69677ddab613d5a/python/mypy/pull/18986
og:image:altSometimes our constraints builder needs to express "at least one of these constraints must be true". Sometimes it's trivial, but sometimes they have nothing in common - in that case w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesterliakov
hostnamegithub.com
expected-hostnamegithub.com
None0e33eedeef87e76d6b013d348ad423a9e503a88efa7080eec1ed2ddba90606bd
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
release15c56e0437fea28b3adfecf1764d0b42db481e03
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/18986#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18986
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2F18986
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/18986
Reloadhttps://github.com/python/mypy/pull/18986
Reloadhttps://github.com/python/mypy/pull/18986
Please reload this pagehttps://github.com/python/mypy/pull/18986
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/18986
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.3k 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 472 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
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
sterliakov:experiments/st-exclude-foreign-tvars-from-constraintshttps://github.com/sterliakov/mypy/tree/experiments/st-exclude-foreign-tvars-from-constraints
Conversationhttps://github.com/python/mypy/pull/18986
Commits9 (9)https://github.com/python/mypy/pull/18986/commits
Checkshttps://github.com/python/mypy/pull/18986/checks
Files changedhttps://github.com/python/mypy/pull/18986/files
Only consider meta variables in ambiguous "any of" constraintshttps://github.com/python/mypy/pull/18986#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
sterliakov:experiments/st-exclude-foreign-tvars-from-constraintshttps://github.com/sterliakov/mypy/tree/experiments/st-exclude-foreign-tvars-from-constraints
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Apr 28, 2025https://github.com/python/mypy/pull/18986#issue-3023409260
Please reload this pagehttps://github.com/python/mypy/pull/18986
https://mypy-play.net/?mypy=1.15.0&python=3.12&flags=strict&gist=2f9493548082e66b77750655d3a90218https://mypy-play.net/?mypy=1.15.0&python=3.12&flags=strict&gist=2f9493548082e66b77750655d3a90218
#18976https://github.com/python/mypy/pull/18976
Please reload this pagehttps://github.com/python/mypy/pull/18986
sterliakovhttps://github.com/sterliakov
April 28, 2025 02:00https://github.com/python/mypy/pull/18986#commits-pushed-18aba13
https://github.com/sterliakov
Try ignoring "foreign" typevars from any_constraints if they are othe…https://github.com/python/mypy/pull/18986/commits/18aba1376b9edfd83974ecb661be848614d2f15b
18aba13https://github.com/python/mypy/pull/18986/commits/18aba1376b9edfd83974ecb661be848614d2f15b
https://github.com/sterliakov
Move to shared type_statehttps://github.com/python/mypy/pull/18986/commits/9ae2a23078bdc586bc77ab2b0b6d799351d3f885
9ae2a23https://github.com/python/mypy/pull/18986/commits/9ae2a23078bdc586bc77ab2b0b6d799351d3f885
https://github.com/sterliakov
Direction doesn't matterhttps://github.com/python/mypy/pull/18986/commits/e8d632770de84da027d1ff80349212f4fc1b7084
e8d6327https://github.com/python/mypy/pull/18986/commits/e8d632770de84da027d1ff80349212f4fc1b7084
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18986
sterliakovhttps://github.com/sterliakov
April 28, 2025 02:58https://github.com/python/mypy/pull/18986#commits-pushed-7af21d5
https://github.com/sterliakov
Move test case where it belongshttps://github.com/python/mypy/pull/18986/commits/7af21d50808c0427b5a9dc825a8209cc570c9988
7af21d5https://github.com/python/mypy/pull/18986/commits/7af21d50808c0427b5a9dc825a8209cc570c9988
https://github.com/sterliakov
Move this check to a separate state, see anyio failurehttps://github.com/python/mypy/pull/18986/commits/71e449647c6aaad9bf58885954b137b26c3b3da8
71e4496https://github.com/python/mypy/pull/18986/commits/71e449647c6aaad9bf58885954b137b26c3b3da8
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18986
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Apr 28, 2025https://github.com/python/mypy/pull/18986#event-17426085838
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
April 28, 2025 02:31https://github.com/python/mypy/pull/18986#event-17426086787
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
ilevkivskyihttps://github.com/ilevkivskyi
April 28, 2025 16:25https://github.com/python/mypy/pull/18986#event-17437982999
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
May 5, 2025https://github.com/python/mypy/pull/18986#issuecomment-2851386996
@ilevkivskyihttps://github.com/ilevkivskyi
#18976https://github.com/python/mypy/pull/18976
Please reload this pagehttps://github.com/python/mypy/pull/18986
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
May 5, 2025https://github.com/python/mypy/pull/18986#issuecomment-2852345398
Please reload this pagehttps://github.com/python/mypy/pull/18986
sterliakovhttps://github.com/sterliakov
May 5, 2025 23:32https://github.com/python/mypy/pull/18986#commits-pushed-9090192
https://github.com/sterliakov
Remove shared state, is_meta_var is sufficienthttps://github.com/python/mypy/pull/18986/commits/9090192a4376e23d95269713d5f794016385df3a
9090192https://github.com/python/mypy/pull/18986/commits/9090192a4376e23d95269713d5f794016385df3a
https://github.com/sterliakov
Merge remote-tracking branch 'upstream/master' into experiments/st-ex…https://github.com/python/mypy/pull/18986/commits/cf33caabf5cac388a6e30cf1f31542bcb6d0be77
cf33caahttps://github.com/python/mypy/pull/18986/commits/cf33caabf5cac388a6e30cf1f31542bcb6d0be77
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
May 5, 2025https://github.com/python/mypy/pull/18986#issuecomment-2852400299
Please reload this pagehttps://github.com/python/mypy/pull/18986
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18986
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
May 6, 2025https://github.com/python/mypy/pull/18986#event-17528891847
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
May 6, 2025https://github.com/python/mypy/pull/18986#issuecomment-2852987493
sterliakov/mypy-issues#32https://github.com/sterliakov/mypy-issues/issues/32
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/18986
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
May 6, 2025 https://github.com/python/mypy/pull/18986#pullrequestreview-2817451010
View reviewed changes https://github.com/python/mypy/pull/18986/files/cf33caabf5cac388a6e30cf1f31542bcb6d0be77
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/18986#pullrequestreview-2817451010
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/18986
test-data/unit/check-inference.testhttps://github.com/python/mypy/pull/18986/files/cf33caabf5cac388a6e30cf1f31542bcb6d0be77#diff-c3eb296f041ab0dfaba0e8ea5cf200d63c2de36b8b57da835294af221ff0de5a
Please reload this pagehttps://github.com/python/mypy/pull/18986
mypy/constraints.pyhttps://github.com/python/mypy/pull/18986/files/cf33caabf5cac388a6e30cf1f31542bcb6d0be77#diff-e2ed7b49654fbffd70164fcdd4c98f7fbff4915a032586184f7ab5dc04b9e816
Please reload this pagehttps://github.com/python/mypy/pull/18986
sterliakovhttps://github.com/sterliakov
May 6, 2025 13:27https://github.com/python/mypy/pull/18986#commits-pushed-516cef7
https://github.com/sterliakov
Add reveal_type in testhttps://github.com/python/mypy/pull/18986/commits/516cef73ffa567dd0636d0bfd4afaf3d4b86be6c
516cef7https://github.com/python/mypy/pull/18986/commits/516cef73ffa567dd0636d0bfd4afaf3d4b86be6c
https://github.com/sterliakov
Add comment from reviewhttps://github.com/python/mypy/pull/18986/commits/e4126864af181aeade1ee4ccf10b144888ce39b9
e412686https://github.com/python/mypy/pull/18986/commits/e4126864af181aeade1ee4ccf10b144888ce39b9
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 6, 2025https://github.com/python/mypy/pull/18986#issuecomment-2854348026
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/18986
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
f336726https://github.com/python/mypy/commit/f3367260eaeee9cb67ca2bd4ca3929e9c0d7a9af
May 6, 2025https://github.com/python/mypy/pull/18986#event-17543826546
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%2F18986
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/18986/files/cf33caabf5cac388a6e30cf1f31542bcb6d0be77
Please reload this pagehttps://github.com/python/mypy/pull/18986
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.