| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:18c99475-cf94-952b-13ff-05ef5935b201 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D292:28B0D7:D0AD55:125BA29:696A2319 |
| html-safe-nonce | 6614b42d7bea95b47ae6df63ae5ce5ef6f738a67d15313875bc241e3bd16b3a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjkyOjI4QjBENzpEMEFENTU6MTI1QkEyOTo2OTZBMjMxOSIsInZpc2l0b3JfaWQiOiI1Nzk4ODUyODQwOTQ3MDY1NjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 461f6325dedac78e203451b16d3cd9db825c604319010b62b248ff9757c1a93a |
| hovercard-subject-tag | pull_request:1345890810 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/104364/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5b48170d6ba3ee24d345822b6aa687fb3771f80710ce9d4db35520a2b9787c48/python/cpython/pull/104364 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b48170d6ba3ee24d345822b6aa687fb3771f80710ce9d4db35520a2b9787c48/python/cpython/pull/104364 |
| og:image:alt | Now that PEP 709 has been implemented, this change speeds up the following benchmark by 15% on my machine (Windows, PGO-optimised non-debug build):
Benchmark:
from dataclasses import dataclass, as... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/104364#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104364 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104364 |
|
Sign up
| https://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 |
| Reload | https://github.com/python/cpython/pull/104364 |
| Reload | https://github.com/python/cpython/pull/104364 |
| Reload | https://github.com/python/cpython/pull/104364 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/104364#issue-comment-box |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/cpython/tree/main |
| AlexWaygood:dataclasses-perf | https://github.com/AlexWaygood/cpython/tree/dataclasses-perf |
|
gh-103000: Optimise dataclasses.asdict for the common case
| https://github.com/python/cpython/pull/104364#top |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/cpython/tree/main |
| AlexWaygood:dataclasses-perf | https://github.com/AlexWaygood/cpython/tree/dataclasses-perf |
|
Conversation
1
| https://github.com/python/cpython/pull/104364 |
|
Commits
3
| https://github.com/python/cpython/pull/104364/commits |
|
Checks
0
| https://github.com/python/cpython/pull/104364/checks |
|
Files changed
| https://github.com/python/cpython/pull/104364/files |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#issue-1704453708 |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
| @DavidCEllis | https://github.com/DavidCEllis |
| Dataclasses - Improve the performance of asdict/astuple for common types and default values #103000 | https://github.com/python/cpython/issues/103000 |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
|
| https://github.com/AlexWaygood |
|
| https://github.com/DavidCEllis |
| Optimise dataclasses.asdict for the common case | https://github.com/python/cpython/pull/104364/commits/4970f5d6590cda345ee286ced85871532aa27846 |
| 4970f5d | https://github.com/python/cpython/pull/104364/commits/4970f5d6590cda345ee286ced85871532aa27846 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#event-9214607050 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| carljm | https://github.com/carljm |
| May 10, 2023 18:43 | https://github.com/python/cpython/pull/104364#event-9214607072 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| ericvsmith | https://github.com/ericvsmith |
| code owner | https://github.com/python/cpython/blob/a33ce66dca57d4c36b1022fdf3b7e322f3203468/.github/CODEOWNERS#L138 |
| May 10, 2023 18:44 | https://github.com/python/cpython/pull/104364#event-9214607476 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#event-9214607848 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#event-9214611380 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
May 10, 2023
| https://github.com/python/cpython/pull/104364#ref-issue-1639276455 |
|
Dataclasses - Improve the performance of asdict/astuple for common types and default values
#103000
| https://github.com/python/cpython/issues/103000 |
| AlexWaygood | https://github.com/AlexWaygood |
| May 10, 2023 19:45 | https://github.com/python/cpython/pull/104364#commits-pushed-29231d5 |
|
| https://github.com/AlexWaygood |
| Update 2023-05-10-19-33-36.gh-issue-103000.j0KSfD.rst | https://github.com/python/cpython/pull/104364/commits/29231d5a6537a499e605f497754d55b074c2a0d3 |
| 29231d5 | https://github.com/python/cpython/pull/104364/commits/29231d5a6537a499e605f497754d55b074c2a0d3 |
|
| https://github.com/AlexWaygood |
| this isn't markdown | https://github.com/python/cpython/pull/104364/commits/4e01d46cfaf9c797a940efc48c29db11a1bf7fcd |
| 4e01d46 | https://github.com/python/cpython/pull/104364/commits/4e01d46cfaf9c797a940efc48c29db11a1bf7fcd |
| https://github.com/carljm |
| carljm | https://github.com/carljm |
|
May 10, 2023
| https://github.com/python/cpython/pull/104364#pullrequestreview-1421342342 |
|
View reviewed changes
| https://github.com/python/cpython/pull/104364/files/4e01d46cfaf9c797a940efc48c29db11a1bf7fcd |
| carljm | https://github.com/carljm |
| https://github.com/python/cpython/pull/104364#pullrequestreview-1421342342 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://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 |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#event-9215362381 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| 7b8d7f5 | https://github.com/python/cpython/commit/7b8d7f56b64ab4370fea77e77ea4984dd2a73979 |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#event-9215761287 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 10, 2023 | https://github.com/python/cpython/pull/104364#event-9215761541 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| May 10, 2023 21:43 | https://github.com/python/cpython/pull/104364#event-9215761664 |
| carljm | https://github.com/carljm |
|
May 10, 2023
| https://github.com/python/cpython/pull/104364#ref-commit-5976df9 |
|
| https://github.com/carljm |
| Merge branch 'main' into fixloadsuperspec | https://github.com/carljm/cpython/commit/5976df922bb352f2de093dc18e8e90e9f9529746 |
| 5976df9 | https://github.com/carljm/cpython/commit/5976df922bb352f2de093dc18e8e90e9f9529746 |
| pythonGH-102181 | https://github.com/python/cpython/issues/102181 |
| pythonGH-102182 | https://github.com/python/cpython/pull/102182 |
| pythongh-103000 | https://github.com/python/cpython/issues/103000 |
| python#104364 | https://github.com/python/cpython/pull/104364 |
| pythongh-103538 | https://github.com/python/cpython/issues/103538 |
| pythonGH-103539 | https://github.com/python/cpython/pull/103539 |
| pythonGH-87695 | https://github.com/python/cpython/issues/87695 |
| pythonGH-104292 | https://github.com/python/cpython/pull/104292 |
| pythongh-104263 | https://github.com/python/cpython/issues/104263 |
| pythonGH-104202 | https://github.com/python/cpython/pull/104202 |
| pythongh-104010 | https://github.com/python/cpython/issues/104010 |
| python#104013 | https://github.com/python/cpython/pull/104013 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104355 | https://github.com/python/cpython/pull/104355 |
| pythongh-103960 | https://github.com/python/cpython/issues/103960 |
| python#103983 | https://github.com/python/cpython/pull/103983 |
| pythongh-104252 | https://github.com/python/cpython/issues/104252 |
| pythongh-104253 | https://github.com/python/cpython/pull/104253 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| pythongh-104197 | https://github.com/python/cpython/pull/104197 |
| python#104354 | https://github.com/python/cpython/pull/104354 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104352 | https://github.com/python/cpython/pull/104352 |
| pythongh-103247 | https://github.com/python/cpython/issues/103247 |
| pythonGH-104226 | https://github.com/python/cpython/pull/104226 |
| pythongh-103848 | https://github.com/python/cpython/issues/103848 |
| python#103849 | https://github.com/python/cpython/pull/103849 |
| pythongh-74895 | https://github.com/python/cpython/issues/74895 |
| python#104326 | https://github.com/python/cpython/pull/104326 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104334 | https://github.com/python/cpython/pull/104334 |
| pythongh-90953 | https://github.com/python/cpython/issues/90953 |
| python#104322 | https://github.com/python/cpython/pull/104322 |
| pythongh-102327 | https://github.com/python/cpython/issues/102327 |
| pythongh-104328 | https://github.com/python/cpython/issues/104328 |
| python#104335 | https://github.com/python/cpython/pull/104335 |
| carljm | https://github.com/carljm |
|
May 11, 2023
| https://github.com/python/cpython/pull/104364#ref-commit-19b3d9e |
|
| https://github.com/carljm |
| Merge branch 'main' into supermon | https://github.com/carljm/cpython/commit/19b3d9ef01efa4c931b0224849bb8eaccd3c9fa6 |
| 19b3d9e | https://github.com/carljm/cpython/commit/19b3d9ef01efa4c931b0224849bb8eaccd3c9fa6 |
| pythongh-87849 | https://github.com/python/cpython/issues/87849 |
| pythonGH-104268 | https://github.com/python/cpython/pull/104268 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104384 | https://github.com/python/cpython/pull/104384 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104367 | https://github.com/python/cpython/pull/104367 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104369 | https://github.com/python/cpython/pull/104369 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104383 | https://github.com/python/cpython/pull/104383 |
| pythongh-101117 | https://github.com/python/cpython/issues/101117 |
| python#104287 | https://github.com/python/cpython/pull/104287 |
| pythonGH-92184 | https://github.com/python/cpython/issues/92184 |
| python#92185 | https://github.com/python/cpython/pull/92185 |
| pythongh-104357 | https://github.com/python/cpython/issues/104357 |
| python#104368 | https://github.com/python/cpython/pull/104368 |
| pythonGH-90208 | https://github.com/python/cpython/issues/90208 |
| pythonGH-104141 | https://github.com/python/cpython/pull/104141 |
| pythonGH-102181 | https://github.com/python/cpython/issues/102181 |
| pythonGH-102182 | https://github.com/python/cpython/pull/102182 |
| pythongh-103000 | https://github.com/python/cpython/issues/103000 |
| python#104364 | https://github.com/python/cpython/pull/104364 |
| pythongh-103538 | https://github.com/python/cpython/issues/103538 |
| pythonGH-103539 | https://github.com/python/cpython/pull/103539 |
| pythonGH-87695 | https://github.com/python/cpython/issues/87695 |
| pythonGH-104292 | https://github.com/python/cpython/pull/104292 |
| pythongh-104263 | https://github.com/python/cpython/issues/104263 |
| pythonGH-104202 | https://github.com/python/cpython/pull/104202 |
| pythongh-104010 | https://github.com/python/cpython/issues/104010 |
| python#104013 | https://github.com/python/cpython/pull/104013 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104355 | https://github.com/python/cpython/pull/104355 |
| pythongh-103960 | https://github.com/python/cpython/issues/103960 |
| python#103983 | https://github.com/python/cpython/pull/103983 |
| pythongh-104252 | https://github.com/python/cpython/issues/104252 |
| pythongh-104253 | https://github.com/python/cpython/pull/104253 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| pythongh-104197 | https://github.com/python/cpython/pull/104197 |
| python#104354 | https://github.com/python/cpython/pull/104354 |
| pythongh-101819 | https://github.com/python/cpython/issues/101819 |
| python#104352 | https://github.com/python/cpython/pull/104352 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104364 |
|
| https://github.com/carljm |
|
carljm
| https://github.com/carljm |
|
| https://github.com/python/cpython/pull/104364/files/4e01d46cfaf9c797a940efc48c29db11a1bf7fcd |
|
| https://github.com/ericvsmith |
|
ericvsmith
| https://github.com/ericvsmith |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
| Please reload this page | https://github.com/python/cpython/pull/104364 |
|
| https://github.com/AlexWaygood |
|
| https://github.com/carljm |
|
| https://github.com/bedevere-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |