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: 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: gh-102699

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: gh-10...

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: gh-10...

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:90fcc6d1-8395-e830-22d7-4ba729ca5722
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8EC2:3135A1:39F11:5120D:6B007E04
html-safe-nonce875ebee5179faf154afa936b4f624acb5a20f65c1eee963ab0e014c8ce0a256f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUMyOjMxMzVBMTozOUYxMTo1MTIwRDo2QjAwN0UwNCIsInZpc2l0b3JfaWQiOiI2Mjk3ODA4NTg5MTM4NDYwMTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac132c937443083a7b6ab2ccc5357ca0904d7939d70aa0b422e466a8bae422f7ca
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/102933/files
twitter:imagehttps://avatars.githubusercontent.com/u/66076021?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/66076021?s=400&v=4
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: gh-10...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/python/cpython/pull/102933/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102933%2Ffiles
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%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/102933/files
Reloadhttps://github.com/python/cpython/pull/102933/files
Reloadhttps://github.com/python/cpython/pull/102933/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/cpython/tree/main
AlexWaygood:dataclass-protocolhttps://github.com/AlexWaygood/cpython/tree/dataclass-protocol
Conversation 16 https://github.com/python/cpython/pull/102933
Commits 11 https://github.com/python/cpython/pull/102933/commits
Checks 0 https://github.com/python/cpython/pull/102933/checks
Files changed https://github.com/python/cpython/pull/102933/files
Please reload this pagehttps://github.com/python/cpython/pull/102933/files
gh-102699: Add dataclasses.DataclassLike https://github.com/python/cpython/pull/102933/files#top
Show all changes 11 commits https://github.com/python/cpython/pull/102933/files
f2c96a4 gh-102699: Add `dataclasses.DataclassLike` AlexWaygood Mar 22, 2023 https://github.com/python/cpython/pull/102933/commits/f2c96a468c314b4b02d46dfc1e348b642ec8806f
2961b83 Improve coverage as per review AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/2961b837da536dea49c16c5022c51c77cee80e3e
adad189 Make it an actual dataclass rather than faking it AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/adad18948d36ad90fe39d639e57b32f39fb576f5
e5535a9 use `is_dataclass` over `hasattr` AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/e5535a92e3a5868815cd5e781a624bb4ad252178
407d0ee Simplify AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/407d0ee00ec39f933c97c7658642df51263ae395
6c319e3 Merge branch 'dataclass-protocol' of https://github.com/AlexWaygood/c… AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/6c319e32fd4bb9a266e24241ba7e381a99e79d07
3a2690f Merge branch 'main' into dataclass-protocol AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/3a2690f9e038921faa7696128c825af86a575a90
c943628 Simplify more AlexWaygood Mar 23, 2023 https://github.com/python/cpython/pull/102933/commits/c94362841270cbe236d700deaf410f0705d2c899
39ced16 Merge branch 'main' into dataclass-protocol AlexWaygood Mar 30, 2023 https://github.com/python/cpython/pull/102933/commits/39ced16b476377ed438eb10f7831e70c55647c9d
721253e Merge branch 'main' into dataclass-protocol AlexWaygood Apr 25, 2023 https://github.com/python/cpython/pull/102933/commits/721253edf153f38e105fdc36d1afacd2d15acd73
6c8a034 Merge branch 'main' into dataclass-protocol AlexWaygood Apr 25, 2023 https://github.com/python/cpython/pull/102933/commits/6c8a0347340d3a29e18e8813062bef7182fa89e3
Clear filters https://github.com/python/cpython/pull/102933/files
Please reload this pagehttps://github.com/python/cpython/pull/102933/files
Please reload this pagehttps://github.com/python/cpython/pull/102933/files
dataclasses.rst https://github.com/python/cpython/pull/102933/files#diff-ea5d851e2fa5c30333b552b42d5f4c48ffd4510011c5b2e8a082d04b2ca25e53
dataclasses.py https://github.com/python/cpython/pull/102933/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
test_dataclasses.py https://github.com/python/cpython/pull/102933/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7
2023-03-22-21-05-34.gh-issue-102699.48uE4z.rst https://github.com/python/cpython/pull/102933/files#diff-183e0288b42dc5ee0f28658618fe8bc1078088c27134ce9d11e8dc2104f3d434
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L421
Doc/library/dataclasses.rsthttps://github.com/python/cpython/pull/102933/files#diff-ea5d851e2fa5c30333b552b42d5f4c48ffd4510011c5b2e8a082d04b2ca25e53
View file https://github.com/AlexWaygood/cpython/blob/6c8a0347340d3a29e18e8813062bef7182fa89e3/Doc/library/dataclasses.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102933/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102933/files#diff-ea5d851e2fa5c30333b552b42d5f4c48ffd4510011c5b2e8a082d04b2ca25e53
https://github.com/python/cpython/pull/102933/files#diff-ea5d851e2fa5c30333b552b42d5f4c48ffd4510011c5b2e8a082d04b2ca25e53
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L422
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/102933/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
View file https://github.com/AlexWaygood/cpython/blob/6c8a0347340d3a29e18e8813062bef7182fa89e3/Lib/dataclasses.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102933/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102933/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/python/cpython/pull/102933/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/python/cpython/pull/102933/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/python/cpython/pull/102933/files
https://github.com/python/cpython/pull/102933/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Lib/test/test_dataclasses.pyhttps://github.com/python/cpython/pull/102933/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7
View file https://github.com/AlexWaygood/cpython/blob/6c8a0347340d3a29e18e8813062bef7182fa89e3/Lib/test/test_dataclasses.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102933/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102933/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7
https://github.com/python/cpython/pull/102933/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7
Misc/NEWS.d/next/Library/2023-03-22-21-05-34.gh-issue-102699.48uE4z.rsthttps://github.com/python/cpython/pull/102933/files#diff-183e0288b42dc5ee0f28658618fe8bc1078088c27134ce9d11e8dc2104f3d434
View file https://github.com/AlexWaygood/cpython/blob/6c8a0347340d3a29e18e8813062bef7182fa89e3/Misc/NEWS.d/next/Library/2023-03-22-21-05-34.gh-issue-102699.48uE4z.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102933/{{ revealButtonHref }}
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.