René's URL Explorer Experiment


Title: Improve type checking of generic function bodies by rwbarton · Pull Request #1580 · python/mypy · GitHub

Open Graph Title: Improve type checking of generic function bodies by rwbarton · Pull Request #1580 · python/mypy

X Title: Improve type checking of generic function bodies by rwbarton · Pull Request #1580 · python/mypy

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

Open Graph Description: This commit series gives type variable ids their own type and replaces the class/function type variable distinction with a plain/metavariable distinction. The main goal is to fix #603, but it's...

X Description: This commit series gives type variable ids their own type and replaces the class/function type variable distinction with a plain/metavariable distinction. The main goal is to fix #603, but it&#...

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

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:6b73611c-5eec-6a01-0ef2-60d01fd10db8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA94C:30263F:180309E:204CB14:6AFFF10B
html-safe-noncef324a43193ab45fc639c8d6b1bfa2b21a3d0351a687716595e9e86b6ab9ef91c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTRDOjMwMjYzRjoxODAzMDlFOjIwNENCMTQ6NkFGRkYxMEIiLCJ2aXNpdG9yX2lkIjoiNjczMzU5MDQzMTEyMjAyNTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac79e2818b2872adb8b5f6bccc2ce048b87e89ab911e29c4f573ad8f3719c64f50
hovercard-subject-tagpull_request:71428254
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/1580/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/debeeb7ec6a919c19219f27ce790557454354ac50751e51d4c1e2efad4af31f0/python/mypy/pull/1580
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/debeeb7ec6a919c19219f27ce790557454354ac50751e51d4c1e2efad4af31f0/python/mypy/pull/1580
og:image:altThis commit series gives type variable ids their own type and replaces the class/function type variable distinction with a plain/metavariable distinction. The main goal is to fix #603, but it's...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerwbarton
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
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
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/1580#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F1580
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%2F1580
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/1580
Reloadhttps://github.com/python/mypy/pull/1580
Reloadhttps://github.com/python/mypy/pull/1580
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
rwbartonhttps://github.com/rwbarton
python:masterhttps://github.com/python/mypy/tree/master
rwbarton:rwbarton-metavarhttps://github.com/rwbarton/mypy/tree/rwbarton-metavar
Conversationhttps://github.com/python/mypy/pull/1580
Commits7 (7)https://github.com/python/mypy/pull/1580/commits
Checkshttps://github.com/python/mypy/pull/1580/checks
Files changedhttps://github.com/python/mypy/pull/1580/files
Improve type checking of generic function bodieshttps://github.com/python/mypy/pull/1580#top
rwbartonhttps://github.com/rwbarton
python:masterhttps://github.com/python/mypy/tree/master
rwbarton:rwbarton-metavarhttps://github.com/rwbarton/mypy/tree/rwbarton-metavar
https://github.com/rwbarton
rwbartonhttps://github.com/rwbarton
May 25, 2016https://github.com/python/mypy/pull/1580#issue-156802317
#603https://github.com/python/mypy/issues/603
#1261https://github.com/python/mypy/issues/1261
Please reload this pagehttps://github.com/python/mypy/pull/1580
JukkaLhttps://github.com/JukkaL
May 25, 2016 https://github.com/python/mypy/pull/1580#discussion-diff-64651052
View reviewed changes https://github.com/python/mypy/pull/1580/files/3fe7c284005e9afef8cba51c6cff77af7aac3e93#diff-b74e3725fe94ee24e37d50d8597980e5cc9c54de4e35d81f6e0b712c36e75c59
mypy/test/data/check-inference-context.testhttps://github.com/python/mypy/pull/1580/files#diff-b74e3725fe94ee24e37d50d8597980e5cc9c54de4e35d81f6e0b712c36e75c59
JukkaLhttps://github.com/JukkaL
May 25, 2016https://github.com/python/mypy/pull/1580#discussion_r64651052
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1580
JukkaLhttps://github.com/JukkaL
May 25, 2016https://github.com/python/mypy/pull/1580#discussion_r64653085
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1580
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
May 25, 2016https://github.com/python/mypy/pull/1580#issuecomment-221713328
Please reload this pagehttps://github.com/python/mypy/pull/1580
https://github.com/rwbarton
rwbartonhttps://github.com/rwbarton
May 26, 2016https://github.com/python/mypy/pull/1580#issuecomment-222021255
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/1580
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jun 10, 2016https://github.com/python/mypy/pull/1580#issuecomment-225190840
@rwbartonhttps://github.com/rwbarton
Please reload this pagehttps://github.com/python/mypy/pull/1580
rwbartonhttps://github.com/rwbarton
June 14, 2016 12:25https://github.com/python/mypy/pull/1580#commits-pushed-d231cf7
https://github.com/rwbarton
Refactoring: construct TypeVarType from TypeVarDefhttps://github.com/python/mypy/pull/1580/commits/d231cf7940ced38cd2d128ade812f89e260e609f
d231cf7https://github.com/python/mypy/pull/1580/commits/d231cf7940ced38cd2d128ade812f89e260e609f
python#1261https://github.com/python/mypy/issues/1261
https://github.com/rwbarton
Refactoring: Make TypeVarId its own typehttps://github.com/python/mypy/pull/1580/commits/e0b0101d5ab7101a8c70006e92e5d8e66fc21182
e0b0101https://github.com/python/mypy/pull/1580/commits/e0b0101d5ab7101a8c70006e92e5d8e66fc21182
https://github.com/rwbarton
Refactoring: remove replacetvars.pyhttps://github.com/python/mypy/pull/1580/commits/8c0ca90561a6779f64714b51599232c2eeef3680
8c0ca90https://github.com/python/mypy/pull/1580/commits/8c0ca90561a6779f64714b51599232c2eeef3680
https://github.com/rwbarton
Replace class/function distinction with plain/metavariable distinctionhttps://github.com/python/mypy/pull/1580/commits/fe473ab83c24d42645464de8244d97481f3cea9f
fe473abhttps://github.com/python/mypy/pull/1580/commits/fe473ab83c24d42645464de8244d97481f3cea9f
python#603https://github.com/python/mypy/issues/603
https://github.com/rwbarton
Simplify class_callablehttps://github.com/python/mypy/pull/1580/commits/ffd395723e78cf746b304b3ef68ad1d5dda62218
ffd3957https://github.com/python/mypy/pull/1580/commits/ffd395723e78cf746b304b3ef68ad1d5dda62218
https://github.com/rwbarton
Improve TypeVarId commentshttps://github.com/python/mypy/pull/1580/commits/ff716fa6746d1bcc0d155ac6b6129caaeb1b3ca7
ff716fahttps://github.com/python/mypy/pull/1580/commits/ff716fa6746d1bcc0d155ac6b6129caaeb1b3ca7
https://github.com/rwbarton
Add more tests for inference in generic functionhttps://github.com/python/mypy/pull/1580/commits/e04eb7357dbc46647ea3a6454f882aa6d4bb0c86
e04eb73https://github.com/python/mypy/pull/1580/commits/e04eb7357dbc46647ea3a6454f882aa6d4bb0c86
https://github.com/rwbarton
rwbartonhttps://github.com/rwbarton
force-pushedhttps://github.com/python/mypy/compare/f8b9fd61b3f045d8e7e912ace808bf1f2658af2b..e04eb7357dbc46647ea3a6454f882aa6d4bb0c86
f8b9fd6https://github.com/python/mypy/commit/f8b9fd61b3f045d8e7e912ace808bf1f2658af2b
e04eb73https://github.com/python/mypy/commit/e04eb7357dbc46647ea3a6454f882aa6d4bb0c86
Compare https://github.com/python/mypy/compare/f8b9fd61b3f045d8e7e912ace808bf1f2658af2b..e04eb7357dbc46647ea3a6454f882aa6d4bb0c86
June 14, 2016 19:31https://github.com/python/mypy/pull/1580#event-692325712
https://github.com/rwbarton
rwbartonhttps://github.com/rwbarton
584f8f3https://github.com/python/mypy/commit/584f8f358e1ab15a0c029e58778ca5acf272b573
Jun 15, 2016https://github.com/python/mypy/pull/1580#event-693513361
Require default arguments to type check only when not specified at the call site? #1721 https://github.com/python/mypy/issues/1721
Add regression tests for a fix mentioned in #1721 #1750 https://github.com/python/mypy/pull/1750
https://github.com/rwbarton
rwbartonhttps://github.com/rwbarton
Jul 1, 2016 https://github.com/python/mypy/pull/1580#ref-issue-137747694
Fix handling of type variables to prevent confusion across different functions/classes #1261 https://github.com/python/mypy/issues/1261
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%2F1580
Please reload this pagehttps://github.com/python/mypy/pull/1580
Type inference problem in generic function https://github.com/python/mypy/issues/603
Please reload this pagehttps://github.com/python/mypy/pull/1580
https://github.com/rwbarton
https://github.com/JukkaL
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.