René's URL Explorer Experiment


Title: Fix forward references and generic inheritance in attrs classes by JukkaL · Pull Request #12772 · python/mypy · GitHub

Open Graph Title: Fix forward references and generic inheritance in attrs classes by JukkaL · Pull Request #12772 · python/mypy

X Title: Fix forward references and generic inheritance in attrs classes by JukkaL · Pull Request #12772 · python/mypy

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

Open Graph Description: Move the attrs plugin to a later pass, so that we won't have placeholders. Fix various issues related to forward references and generic inheritance, including some crashes. This is follow-up to...

X Description: Move the attrs plugin to a later pass, so that we won't have placeholders. Fix various issues related to forward references and generic inheritance, including some crashes. This is follow-u...

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

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:18b3eb5a-5e0b-a42b-27fe-7dd1a4b689ab
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA356:1B0A31:210F68A:2CF17A5:6B00237C
html-safe-nonce968d487ac242f7005c40a656756c6f511fe116434f47a75580da0d281dd3e7e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzU2OjFCMEEzMToyMTBGNjhBOjJDRjE3QTU6NkIwMDIzN0MiLCJ2aXNpdG9yX2lkIjoiMjg4NzkxNTQ5NDU2Njc5ODIwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac01777cb0c4c5af864455172bcbca20b458a76391f42cd11374fb1b25ac79c4a8
hovercard-subject-tagpull_request:934672667
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/12772/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b13282ef52398c2abdd9b652db4e4f332bb0564fc23aaeffcfd4b08d6c158b13/python/mypy/pull/12772
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b13282ef52398c2abdd9b652db4e4f332bb0564fc23aaeffcfd4b08d6c158b13/python/mypy/pull/12772
og:image:altMove the attrs plugin to a later pass, so that we won't have placeholders. Fix various issues related to forward references and generic inheritance, including some crashes. This is follow-up to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJukkaL
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/12772#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12772
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%2F12772
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/12772
Reloadhttps://github.com/python/mypy/pull/12772
Reloadhttps://github.com/python/mypy/pull/12772
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
JukkaLhttps://github.com/JukkaL
masterhttps://github.com/python/mypy/tree/master
fix-attrs-pluginhttps://github.com/python/mypy/tree/fix-attrs-plugin
Conversationhttps://github.com/python/mypy/pull/12772
Commits14 (14)https://github.com/python/mypy/pull/12772/commits
Checkshttps://github.com/python/mypy/pull/12772/checks
Files changedhttps://github.com/python/mypy/pull/12772/files
Fix forward references and generic inheritance in attrs classeshttps://github.com/python/mypy/pull/12772#top
JukkaLhttps://github.com/JukkaL
masterhttps://github.com/python/mypy/tree/master
fix-attrs-pluginhttps://github.com/python/mypy/tree/fix-attrs-plugin
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
May 12, 2022https://github.com/python/mypy/pull/12772#issue-1233800742
#12762https://github.com/python/mypy/pull/12762
#12656https://github.com/python/mypy/pull/12656
#12633https://github.com/python/mypy/issues/12633
Please reload this pagehttps://github.com/python/mypy/pull/12772
JukkaLhttps://github.com/JukkaL
May 12, 2022 10:55https://github.com/python/mypy/pull/12772#commits-pushed-c13cf6d
https://github.com/JukkaL
Fix crashed related to forward references in attrs classeshttps://github.com/python/mypy/pull/12772/commits/c13cf6d5ed573927b0c1fb1a4d8825f26d583b68
c13cf6dhttps://github.com/python/mypy/pull/12772/commits/c13cf6d5ed573927b0c1fb1a4d8825f26d583b68
#12762https://github.com/python/mypy/pull/12762
https://github.com/JukkaL
Fix attributes without explicit typeshttps://github.com/python/mypy/pull/12772/commits/ae920152f7f6154c1ece5e564d96da6ed18149c3
ae92015https://github.com/python/mypy/pull/12772/commits/ae920152f7f6154c1ece5e564d96da6ed18149c3
https://github.com/JukkaL
Fix convertershttps://github.com/python/mypy/pull/12772/commits/a3c69e7f0490c5013929571129b3031b7abb0294
a3c69e7https://github.com/python/mypy/pull/12772/commits/a3c69e7f0490c5013929571129b3031b7abb0294
https://github.com/JukkaL
Simplifyhttps://github.com/python/mypy/pull/12772/commits/89068ec1b8a9570cf5c1c392b9863980b53d1805
89068echttps://github.com/python/mypy/pull/12772/commits/89068ec1b8a9570cf5c1c392b9863980b53d1805
https://github.com/JukkaL
Simplify morehttps://github.com/python/mypy/pull/12772/commits/32d00263062300f8d38b62700db7d0e03d7a3694
32d0026https://github.com/python/mypy/pull/12772/commits/32d00263062300f8d38b62700db7d0e03d7a3694
https://github.com/JukkaL
Add test casehttps://github.com/python/mypy/pull/12772/commits/d3e2b400fe96354910502ef6355ba86557566855
d3e2b40https://github.com/python/mypy/pull/12772/commits/d3e2b400fe96354910502ef6355ba86557566855
https://github.com/JukkaL
Fix linthttps://github.com/python/mypy/pull/12772/commits/05e4526dc059b3aa20320f503243e800636a8fee
05e4526https://github.com/python/mypy/pull/12772/commits/05e4526dc059b3aa20320f503243e800636a8fee
https://github.com/JukkaL
Also fix generic inheritance (now that it's possible)https://github.com/python/mypy/pull/12772/commits/91131b4d747c532535f506fb1ae039009d812456
91131b4https://github.com/python/mypy/pull/12772/commits/91131b4d747c532535f506fb1ae039009d812456
https://github.com/JukkaL
Detect base classes that aren't ready yethttps://github.com/python/mypy/pull/12772/commits/4d3ab14d814bb6747e2b5f1fd74c5b3b4c939da5
4d3ab14https://github.com/python/mypy/pull/12772/commits/4d3ab14d814bb6747e2b5f1fd74c5b3b4c939da5
https://github.com/JukkaL
Fix type checkhttps://github.com/python/mypy/pull/12772/commits/4729b65a16a1e7bebdc0b795cebc056aded5d9d7
4729b65https://github.com/python/mypy/pull/12772/commits/4729b65a16a1e7bebdc0b795cebc056aded5d9d7
https://github.com/JukkaL
Fix special casehttps://github.com/python/mypy/pull/12772/commits/aba9fadfc8e5dded74f15863424d20c9a0d02bb0
aba9fadhttps://github.com/python/mypy/pull/12772/commits/aba9fadfc8e5dded74f15863424d20c9a0d02bb0
https://github.com/JukkaL
Minor tweakhttps://github.com/python/mypy/pull/12772/commits/8d25930f736c484b52db33cc38342190781fb410
8d25930https://github.com/python/mypy/pull/12772/commits/8d25930f736c484b52db33cc38342190781fb410
https://github.com/JukkaL
Another fixhttps://github.com/python/mypy/pull/12772/commits/15e1f35a15ca15b4099e29481f5c3f61ae7ef2b3
15e1f35https://github.com/python/mypy/pull/12772/commits/15e1f35a15ca15b4099e29481f5c3f61ae7ef2b3
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12772
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
May 12, 2022https://github.com/python/mypy/pull/12772#issuecomment-1124970831
Please reload this pagehttps://github.com/python/mypy/pull/12772
https://github.com/JukkaL
Fix --disallow-untyped-defshttps://github.com/python/mypy/pull/12772/commits/2f09a6a5ed4e3b160fa871c1c2d8ad9b05dd446e
2f09a6ahttps://github.com/python/mypy/pull/12772/commits/2f09a6a5ed4e3b160fa871c1c2d8ad9b05dd446e
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 13, 2022https://github.com/python/mypy/pull/12772#issuecomment-1125971277
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/12772
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
May 13, 2022 https://github.com/python/mypy/pull/12772#pullrequestreview-972255313
View reviewed changes https://github.com/python/mypy/pull/12772/files/2f09a6a5ed4e3b160fa871c1c2d8ad9b05dd446e
mypy/plugins/attrs.pyhttps://github.com/python/mypy/pull/12772/files/2f09a6a5ed4e3b160fa871c1c2d8ad9b05dd446e#diff-c06d82e1af489188cdaa58e70e6460a858e2d4a993281e440a0c581947d69d81
ilevkivskyihttps://github.com/ilevkivskyi
May 13, 2022https://github.com/python/mypy/pull/12772#discussion_r872399066
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/12772
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
50a653ehttps://github.com/python/mypy/commit/50a653e0714e303178c890854b9074fc030907f0
May 13, 2022https://github.com/python/mypy/pull/12772#event-6605962505
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
May 13, 2022 13:49https://github.com/python/mypy/pull/12772#event-6605962591
AssertionError on version 0.960 #12868 https://github.com/python/mypy/issues/12868
Release 0.960 planning #12807 https://github.com/python/mypy/issues/12807
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%2F12772
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/12772/files/2f09a6a5ed4e3b160fa871c1c2d8ad9b05dd446e
Please reload this pagehttps://github.com/python/mypy/pull/12772
Please reload this pagehttps://github.com/python/mypy/pull/12772
https://github.com/JukkaL
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.