René's URL Explorer Experiment


Title: Fix member access on generic classes by ilevkivskyi · Pull Request #6418 · python/mypy · GitHub

Open Graph Title: Fix member access on generic classes by ilevkivskyi · Pull Request #6418 · python/mypy

X Title: Fix member access on generic classes by ilevkivskyi · Pull Request #6418 · python/mypy

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

Open Graph Description: Fixes #3645 Fixes #1337 Fixes #5664 The fix is straightforward, I just add/propagate the bound type variable values by mapping to supertype. I didn't find any corner cases with class methods, a...

X Description: Fixes #3645 Fixes #1337 Fixes #5664 The fix is straightforward, I just add/propagate the bound type variable values by mapping to supertype. I didn't find any corner cases with class method...

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

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:4f1c1808-f409-1c6b-d592-271a8228fc78
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC80E:B5253:17CC0A9:1F7A651:6B002527
html-safe-noncea5158b49e00c63b154323e86f535c0e70b373c4d1d95fd58f67df4b89dbd732a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODBFOkI1MjUzOjE3Q0MwQTk6MUY3QTY1MTo2QjAwMjUyNyIsInZpc2l0b3JfaWQiOiI3OTUwMDQ1MDk4NzQ0NDg5MjU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccabf3635e2b025dc75a0e86309125e63ad1f67165e6cfd584d887b83380370c6
hovercard-subject-tagpull_request:253662614
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/6418/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/70c10567e161eff782ff8ccc2c1b7dc11ae8473bfa00603714422774aa359783/python/mypy/pull/6418
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/70c10567e161eff782ff8ccc2c1b7dc11ae8473bfa00603714422774aa359783/python/mypy/pull/6418
og:image:altFixes #3645 Fixes #1337 Fixes #5664 The fix is straightforward, I just add/propagate the bound type variable values by mapping to supertype. I didn't find any corner cases with class methods, 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/6418#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F6418
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%2F6418
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/6418
Reloadhttps://github.com/python/mypy/pull/6418
Reloadhttps://github.com/python/mypy/pull/6418
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:generic-classmethodshttps://github.com/ilevkivskyi/mypy/tree/generic-classmethods
Conversationhttps://github.com/python/mypy/pull/6418
Commits5 (5)https://github.com/python/mypy/pull/6418/commits
Checkshttps://github.com/python/mypy/pull/6418/checks
Files changedhttps://github.com/python/mypy/pull/6418/files
Fix member access on generic classeshttps://github.com/python/mypy/pull/6418#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:generic-classmethodshttps://github.com/ilevkivskyi/mypy/tree/generic-classmethods
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Feb 16, 2019https://github.com/python/mypy/pull/6418#issue-411104104
#3645https://github.com/python/mypy/issues/3645
#1337https://github.com/python/mypy/issues/1337
#5664https://github.com/python/mypy/issues/5664
Please reload this pagehttps://github.com/python/mypy/pull/6418
ilevkivskyihttps://github.com/ilevkivskyi
February 16, 2019 18:44https://github.com/python/mypy/pull/6418#commits-pushed-f63e06e
https://github.com/ilevkivskyi
Fix member access on generic classeshttps://github.com/python/mypy/pull/6418/commits/f63e06ee530e1933b82bda369df55b159b7513be
f63e06ehttps://github.com/python/mypy/pull/6418/commits/f63e06ee530e1933b82bda369df55b159b7513be
https://github.com/ilevkivskyi
Update testhttps://github.com/python/mypy/pull/6418/commits/8c058d85552f221d415c259708b85683e5e6ffc6
8c058d8https://github.com/python/mypy/pull/6418/commits/8c058d85552f221d415c259708b85683e5e6ffc6
https://github.com/ilevkivskyi
Add one more testhttps://github.com/python/mypy/pull/6418/commits/e79170d76b015997c94a305f5e404944bfb93866
e79170dhttps://github.com/python/mypy/pull/6418/commits/e79170d76b015997c94a305f5e404944bfb93866
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
JukkaLhttps://github.com/JukkaL
msullivanhttps://github.com/msullivan
February 16, 2019 19:24https://github.com/python/mypy/pull/6418#event-2144326842
Merge remote-tracking branch 'upstream/master' into generic-classmethodshttps://github.com/python/mypy/pull/6418/commits/a2677941347fade5439066e063c7454798d90f36
a267794https://github.com/python/mypy/pull/6418/commits/a2677941347fade5439066e063c7454798d90f36
https://github.com/msullivan
msullivanhttps://github.com/msullivan
Feb 22, 2019 https://github.com/python/mypy/pull/6418#pullrequestreview-207050344
View reviewed changes https://github.com/python/mypy/pull/6418/files/a2677941347fade5439066e063c7454798d90f36
msullivanhttps://github.com/msullivan
https://github.com/python/mypy/pull/6418#pullrequestreview-207050344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6418
mypy/checkmember.pyhttps://github.com/python/mypy/pull/6418/files/a2677941347fade5439066e063c7454798d90f36#diff-b6a1cf066b85ca4f4de2404deb3df0fcdfa50663740257c516722be4ef4c3c58
msullivanhttps://github.com/msullivan
Feb 22, 2019https://github.com/python/mypy/pull/6418#discussion_r259528117
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6418
ilevkivskyihttps://github.com/ilevkivskyi
Feb 23, 2019https://github.com/python/mypy/pull/6418#discussion_r259588902
Please reload this pagehttps://github.com/python/mypy/pull/6418
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6418
ilevkivskyihttps://github.com/ilevkivskyi
Feb 24, 2019https://github.com/python/mypy/pull/6418#discussion_r259599313
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/6418
https://github.com/ilevkivskyi
Add comment; fix id clash (+test); fix new analyzerhttps://github.com/python/mypy/pull/6418/commits/5ce9e93ffe92b76647562b632f2e39cf3a2ec69e
5ce9e93https://github.com/python/mypy/pull/6418/commits/5ce9e93ffe92b76647562b632f2e39cf3a2ec69e
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
11f6e54https://github.com/python/mypy/commit/11f6e546e14500238bd8a29fb76732e197af6fb1
Feb 24, 2019https://github.com/python/mypy/pull/6418#event-2159878571
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
February 24, 2019 01:17https://github.com/python/mypy/pull/6418#event-2159878593
https://github.com/erickpeirson
erickpeirsonhttps://github.com/erickpeirson
Aug 28, 2019 https://github.com/python/mypy/pull/6418#ref-issue-486509553
Seemingly valid classmethod in subclass of generic generates incompatible return type error #7401 https://github.com/python/mypy/issues/7401
hauntsaninjahttps://github.com/hauntsaninja
Nov 3, 2024 https://github.com/python/mypy/pull/6418#ref-commit-280f565
https://github.com/hauntsaninja
Be stricter about access to generic vars from classhttps://github.com/hauntsaninja/mypy/commit/280f5655922916b6725060e119422bcb88f90f5a
280f565https://github.com/hauntsaninja/mypy/commit/280f5655922916b6725060e119422bcb88f90f5a
python#6418https://github.com/python/mypy/pull/6418
hauntsaninjahttps://github.com/hauntsaninja
Nov 3, 2024 https://github.com/python/mypy/pull/6418#ref-commit-62d43b8
https://github.com/hauntsaninja
Be stricter about access to generic vars from classhttps://github.com/hauntsaninja/mypy/commit/62d43b8cf391608d33bb08aa4e0264ee07541c3e
62d43b8https://github.com/hauntsaninja/mypy/commit/62d43b8cf391608d33bb08aa4e0264ee07541c3e
python#6418https://github.com/python/mypy/pull/6418
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Nov 3, 2024 https://github.com/python/mypy/pull/6418#ref-pullrequest-2631443403
Be stricter about access to generic vars from class #18100 https://github.com/python/mypy/pull/18100
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%2F6418
https://github.com/msullivan
msullivan https://github.com/msullivan
https://github.com/python/mypy/pull/6418/files/a2677941347fade5439066e063c7454798d90f36
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/6418
type signature in generic subclass https://github.com/python/mypy/issues/5664
Problems using class type variable in class methods https://github.com/python/mypy/issues/3645
@classmethod of Generic class https://github.com/python/mypy/issues/1337
Please reload this pagehttps://github.com/python/mypy/pull/6418
https://github.com/ilevkivskyi
https://github.com/msullivan
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.