René's URL Explorer Experiment


Title: gh-102699: Add `dataclasses.DataclassLike` by AlexWaygood · Pull Request #102933 · python/cpython · GitHub

Open Graph Title: gh-102699: Add `dataclasses.DataclassLike` by AlexWaygood · Pull Request #102933 · python/cpython

X Title: gh-102699: Add `dataclasses.DataclassLike` by AlexWaygood · Pull Request #102933 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Add dataclasses.DataclassLike, an abstract base class for dataclasses. Mainly useful for type-hinting. See the issue for a more complete rationale for why this class would be useful. Issue: Add a...

X Description: Add dataclasses.DataclassLike, an abstract base class for dataclasses. Mainly useful for type-hinting. See the issue for a more complete rationale for why this class would be useful. Issue: Add a...

Opengraph URL: https://github.com/python/cpython/pull/102933

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:b56d9cc5-fabb-c558-0cdd-056e06232066
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92B0:91831:6140E1:880B8F:6B0079C5
html-safe-nonce35b15b93ff093d22fcbb4bf2d588b69f4fd7a851df4782e97f1f16e4e6c8d303
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkIwOjkxODMxOjYxNDBFMTo4ODBCOEY6NkIwMDc5QzUiLCJ2aXNpdG9yX2lkIjoiMTc4NjM4OTMzMzg1NTQ2Nzk3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2f6ce2a131c0d9ad9a41e3fa4be3c80d14bbe050ce9433998513ca1325030f60
hovercard-subject-tagpull_request:1286520147
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/cpython/102933/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/44bfb6325d6c9f28ceb960fbab671665da5cef774bd117b088d2ce4eae12fec4/python/cpython/pull/102933
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/44bfb6325d6c9f28ceb960fbab671665da5cef774bd117b088d2ce4eae12fec4/python/cpython/pull/102933
og:image:altAdd dataclasses.DataclassLike, an abstract base class for dataclasses. Mainly useful for type-hinting. See the issue for a more complete rationale for why this class would be useful. Issue: Add a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/102933#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102933
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%2Fcpython%2Fpull%2F102933
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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/102933
Reloadhttps://github.com/python/cpython/pull/102933
Reloadhttps://github.com/python/cpython/pull/102933
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/cpython/tree/main
AlexWaygood:dataclass-protocolhttps://github.com/AlexWaygood/cpython/tree/dataclass-protocol
Conversationhttps://github.com/python/cpython/pull/102933
Commits11 (11)https://github.com/python/cpython/pull/102933/commits
Checkshttps://github.com/python/cpython/pull/102933/checks
Files changedhttps://github.com/python/cpython/pull/102933/files
gh-102699: Add dataclasses.DataclassLikehttps://github.com/python/cpython/pull/102933#top
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/cpython/tree/main
AlexWaygood:dataclass-protocolhttps://github.com/AlexWaygood/cpython/tree/dataclass-protocol
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 22, 2023https://github.com/python/cpython/pull/102933#issue-1636520689
Please reload this pagehttps://github.com/python/cpython/pull/102933
Add a Dataclass abstract base class for instance checking and type annotations #102699https://github.com/python/cpython/issues/102699
Please reload this pagehttps://github.com/python/cpython/pull/102933
https://github.com/AlexWaygood
pythongh-102699https://github.com/python/cpython/issues/102699
: Addhttps://github.com/python/cpython/pull/102933/commits/f2c96a468c314b4b02d46dfc1e348b642ec8806f
dataclasses.DataclassLikehttps://github.com/python/cpython/pull/102933/commits/f2c96a468c314b4b02d46dfc1e348b642ec8806f
f2c96a4https://github.com/python/cpython/pull/102933/commits/f2c96a468c314b4b02d46dfc1e348b642ec8806f
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
carljmhttps://github.com/carljm
March 22, 2023 21:27https://github.com/python/cpython/pull/102933#event-8821378011
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
ericvsmithhttps://github.com/ericvsmith
code ownerhttps://github.com/python/cpython/blob/8709697292c67254ba836d7e88d1eba08c4a351a/.github/CODEOWNERS#L137
March 22, 2023 21:27https://github.com/python/cpython/pull/102933#event-8821378065
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 22, 2023 https://github.com/python/cpython/pull/102933#ref-issue-1624215692
Add a Dataclass abstract base class for instance checking and type annotations #102699 https://github.com/python/cpython/issues/102699
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 22, 2023https://github.com/python/cpython/pull/102933#event-8821378658
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.12
Mar 22, 2023https://github.com/python/cpython/pull/102933#event-8821878976
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Mar 23, 2023 https://github.com/python/cpython/pull/102933#pullrequestreview-1353967166
View reviewed changes https://github.com/python/cpython/pull/102933/files/f2c96a468c314b4b02d46dfc1e348b642ec8806f
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/102933/files/f2c96a468c314b4b02d46dfc1e348b642ec8806f#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/102933
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/102933/files/f2c96a468c314b4b02d46dfc1e348b642ec8806f#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
sobolevnhttps://github.com/sobolevn
Mar 23, 2023https://github.com/python/cpython/pull/102933#discussion_r1145766975
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/102933
AlexWaygoodhttps://github.com/AlexWaygood
Mar 23, 2023https://github.com/python/cpython/pull/102933#discussion_r1146123560
Please reload this pagehttps://github.com/python/cpython/pull/102933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/102933
sobolevnhttps://github.com/sobolevn
Mar 23, 2023https://github.com/python/cpython/pull/102933#discussion_r1146137409
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/102933
AlexWaygoodhttps://github.com/AlexWaygood
Mar 23, 2023https://github.com/python/cpython/pull/102933#discussion_r1146147413
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/102933
AlexWaygoodhttps://github.com/AlexWaygood
Mar 23, 2023https://github.com/python/cpython/pull/102933#discussion_r1146149631
Please reload this pagehttps://github.com/python/cpython/pull/102933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/102933
AlexWaygoodhttps://github.com/AlexWaygood
Mar 23, 2023https://github.com/python/cpython/pull/102933#discussion_r1146194903
Please reload this pagehttps://github.com/python/cpython/pull/102933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/102933
AlexWaygoodhttps://github.com/AlexWaygood
March 23, 2023 12:50https://github.com/python/cpython/pull/102933#commits-pushed-2961b83
https://github.com/AlexWaygood
Improve coverage as per reviewhttps://github.com/python/cpython/pull/102933/commits/2961b837da536dea49c16c5022c51c77cee80e3e
2961b83https://github.com/python/cpython/pull/102933/commits/2961b837da536dea49c16c5022c51c77cee80e3e
https://github.com/AlexWaygood
Make it an actual dataclass rather than faking ithttps://github.com/python/cpython/pull/102933/commits/adad18948d36ad90fe39d639e57b32f39fb576f5
adad189https://github.com/python/cpython/pull/102933/commits/adad18948d36ad90fe39d639e57b32f39fb576f5
https://github.com/carljm
carljmhttps://github.com/carljm
Mar 23, 2023 https://github.com/python/cpython/pull/102933#pullrequestreview-1354799172
View reviewed changes https://github.com/python/cpython/pull/102933/files/adad18948d36ad90fe39d639e57b32f39fb576f5
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/102933/files/f2c96a468c314b4b02d46dfc1e348b642ec8806f#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/102933
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 23, 2023https://github.com/python/cpython/pull/102933#event-8828426347
https://github.com/JonathonReinhart
JonathonReinharthttps://github.com/JonathonReinhart
Mar 23, 2023 https://github.com/python/cpython/pull/102933#pullrequestreview-1354812574
View reviewed changes https://github.com/python/cpython/pull/102933/files/adad18948d36ad90fe39d639e57b32f39fb576f5
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/102933/files/adad18948d36ad90fe39d639e57b32f39fb576f5#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/102933
AlexWaygoodhttps://github.com/AlexWaygood
March 23, 2023 15:01https://github.com/python/cpython/pull/102933#commits-pushed-e5535a9
https://github.com/AlexWaygood
https://github.com/sobolevn
use is_dataclass over hasattrhttps://github.com/python/cpython/pull/102933/commits/e5535a92e3a5868815cd5e781a624bb4ad252178
e5535a9https://github.com/python/cpython/pull/102933/commits/e5535a92e3a5868815cd5e781a624bb4ad252178
https://github.com/AlexWaygood
Simplifyhttps://github.com/python/cpython/pull/102933/commits/407d0ee00ec39f933c97c7658642df51263ae395
407d0eehttps://github.com/python/cpython/pull/102933/commits/407d0ee00ec39f933c97c7658642df51263ae395
https://github.com/AlexWaygood
Merge branch 'dataclass-protocol' ofhttps://github.com/python/cpython/pull/102933/commits/6c319e32fd4bb9a266e24241ba7e381a99e79d07
https://github.com/AlexWaygood/c…https://github.com/AlexWaygood/cpython
6c319e3https://github.com/python/cpython/pull/102933/commits/6c319e32fd4bb9a266e24241ba7e381a99e79d07
…pythonhttps://github.com/AlexWaygood/cpython
https://github.com/AlexWaygood
Merge branch 'main' into dataclass-protocolhttps://github.com/python/cpython/pull/102933/commits/3a2690f9e038921faa7696128c825af86a575a90
3a2690fhttps://github.com/python/cpython/pull/102933/commits/3a2690f9e038921faa7696128c825af86a575a90
https://github.com/AlexWaygood
Simplify morehttps://github.com/python/cpython/pull/102933/commits/c94362841270cbe236d700deaf410f0705d2c899
c943628https://github.com/python/cpython/pull/102933/commits/c94362841270cbe236d700deaf410f0705d2c899
https://github.com/AlexWaygood
Merge branch 'main' into dataclass-protocolhttps://github.com/python/cpython/pull/102933/commits/39ced16b476377ed438eb10f7831e70c55647c9d
39ced16https://github.com/python/cpython/pull/102933/commits/39ced16b476377ed438eb10f7831e70c55647c9d
https://github.com/AlexWaygood
Merge branch 'main' into dataclass-protocolhttps://github.com/python/cpython/pull/102933/commits/721253edf153f38e105fdc36d1afacd2d15acd73
721253ehttps://github.com/python/cpython/pull/102933/commits/721253edf153f38e105fdc36d1afacd2d15acd73
https://github.com/AlexWaygood
Merge branch 'main' into dataclass-protocolhttps://github.com/python/cpython/pull/102933/commits/6c8a0347340d3a29e18e8813062bef7182fa89e3
6c8a034https://github.com/python/cpython/pull/102933/commits/6c8a0347340d3a29e18e8813062bef7182fa89e3
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Apr 30, 2023https://github.com/python/cpython/pull/102933#issuecomment-1529056432
@ericvsmithhttps://github.com/ericvsmith
@hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/cpython/pull/102933
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 19, 2023 https://github.com/python/cpython/pull/102933#ref-pullrequest-1763129737
Improve DataclassInstance; add more tests hauntsaninja/useful_types#10 https://github.com/hauntsaninja/useful_types/pull/10
https://github.com/NeilGirdhar
NeilGirdharhttps://github.com/NeilGirdhar
Aug 20, 2023 https://github.com/python/cpython/pull/102933#ref-issue-1845741935
Custom dataclasses are not recognized as dataclasses python/mypy#15843 https://github.com/python/mypy/issues/15843
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Aug 21, 2023https://github.com/python/cpython/pull/102933#issuecomment-1686198571
@hauntsaninjahttps://github.com/hauntsaninja
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/102933
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Aug 21, 2023https://github.com/python/cpython/pull/102933#event-10144585798
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
August 21, 2023 12:01https://github.com/python/cpython/pull/102933#event-10144586392
https://github.co/hiddenchars
https://github.com/python/cpython/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%2Fcpython%2Fpull%2F102933
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
https://github.com/python/cpython/pull/102933/files/f2c96a468c314b4b02d46dfc1e348b642ec8806f
https://github.com/carljm
carljm https://github.com/carljm
https://github.com/python/cpython/pull/102933/files/adad18948d36ad90fe39d639e57b32f39fb576f5
https://github.com/ericvsmith
ericvsmith https://github.com/ericvsmith
https://github.com/JonathonReinhart
JonathonReinhart https://github.com/JonathonReinhart
https://github.com/python/cpython/pull/102933/files/adad18948d36ad90fe39d639e57b32f39fb576f5
Please reload this pagehttps://github.com/python/cpython/pull/102933
3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.12
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/102933
https://github.com/AlexWaygood
https://github.com/carljm
https://github.com/JonathonReinhart
https://github.com/sobolevn
https://github.com/bedevere-bot
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.