| 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:ddf077e5-3e15-1c62-e4f5-745da94860d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE00:193CDB:21E6AC6:2C45C25:696B4992 |
| html-safe-nonce | ab7e52066164191c3a79ff1f9e1c0ba5cb037d8f5c26713b08da93c94620e51b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTAwOjE5M0NEQjoyMUU2QUM2OjJDNDVDMjU6Njk2QjQ5OTIiLCJ2aXNpdG9yX2lkIjoiMzA5Mzk0MjEzMzY3Njc4ODExNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 14034f7a38d7b3abb8111ad2045c8d0472cedf49c611c5de4fc32c3534484a68 |
| hovercard-subject-tag | pull_request:2497529343 |
| 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/133406/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/41f7cb0d33272b6d5012559a511666814fb0662b1faf1e2a17cc13b4f00c6b91/python/cpython/pull/133406 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41f7cb0d33272b6d5012559a511666814fb0662b1faf1e2a17cc13b4f00c6b91/python/cpython/pull/133406 |
| og:image:alt | Closes #82129. Closes #122262.
This is on top of @sobolevn's #122262 but jumps through a few more hoops to achieve these goals:
The annotations on dataclasses with make_dataclass() are sensibl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/133406#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133406 |
| 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%2F133406 |
|
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/133406 |
| Reload | https://github.com/python/cpython/pull/133406 |
| Reload | https://github.com/python/cpython/pull/133406 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
|
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/133406 |
|
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/133406#issue-comment-box |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| JelleZijlstra:gh18219-alt | https://github.com/JelleZijlstra/cpython/tree/gh18219-alt |
|
gh-82129: Improve annotations for make_dataclass()
| https://github.com/python/cpython/pull/133406#top |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| JelleZijlstra:gh18219-alt | https://github.com/JelleZijlstra/cpython/tree/gh18219-alt |
|
Conversation
3
| https://github.com/python/cpython/pull/133406 |
|
Commits
14
| https://github.com/python/cpython/pull/133406/commits |
|
Checks
43
| https://github.com/python/cpython/pull/133406/checks |
|
Files changed
| https://github.com/python/cpython/pull/133406/files |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 4, 2025 | https://github.com/python/cpython/pull/133406#issue-3038280061 |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| #82129 | https://github.com/python/cpython/issues/82129 |
| #122262 | https://github.com/python/cpython/pull/122262 |
| @sobolevn | https://github.com/sobolevn |
| #122262 | https://github.com/python/cpython/pull/122262 |
| get_type_hints fails if there are un-annotated fields in a dataclass #82129 | https://github.com/python/cpython/issues/82129 |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| sobolevn | https://github.com/sobolevn |
| July 25, 2024 10:17 | https://github.com/python/cpython/pull/133406#commits-pushed-c2d85b7 |
|
| https://github.com/sobolevn |
| pythongh-82128 | https://github.com/python/cpython/issues/82128 |
| : Provide | https://github.com/python/cpython/pull/133406/commits/c2d85b7b03e472126e0561466c38adf231d0b99b |
| __annotate__ | https://github.com/python/cpython/pull/133406/commits/c2d85b7b03e472126e0561466c38adf231d0b99b |
| method for dataclasses from `m… | https://github.com/python/cpython/pull/133406/commits/c2d85b7b03e472126e0561466c38adf231d0b99b |
| c2d85b7 | https://github.com/python/cpython/pull/133406/commits/c2d85b7b03e472126e0561466c38adf231d0b99b |
|
| https://github.com/sobolevn |
| Merge branch 'main' into issue-82129-2 | https://github.com/python/cpython/pull/133406/commits/de409ad3bca29d4e3435b978a2bb16e366d1a81c |
| de409ad | https://github.com/python/cpython/pull/133406/commits/de409ad3bca29d4e3435b978a2bb16e366d1a81c |
|
| https://github.com/sobolevn |
| Fix NameError | https://github.com/python/cpython/pull/133406/commits/642f8498845592bf8e7197f1aedfd0c894bbe589 |
| 642f849 | https://github.com/python/cpython/pull/133406/commits/642f8498845592bf8e7197f1aedfd0c894bbe589 |
|
| https://github.com/sobolevn |
| Merge branch 'main' into issue-82129-2 | https://github.com/python/cpython/pull/133406/commits/69251ac064f5582b9437e3dbaf60cac53a5e59a4 |
| 69251ac | https://github.com/python/cpython/pull/133406/commits/69251ac064f5582b9437e3dbaf60cac53a5e59a4 |
|
| https://github.com/sobolevn |
| Address review | https://github.com/python/cpython/pull/133406/commits/5ec3a088e2429479438c272f259943eeaf9c2ec9 |
| 5ec3a08 | https://github.com/python/cpython/pull/133406/commits/5ec3a088e2429479438c272f259943eeaf9c2ec9 |
|
| https://github.com/sobolevn |
|
| https://github.com/carljm |
| Update Misc/NEWS.d/next/Library/2024-09-18-09-15-40.gh-issue-82129.GQ… | https://github.com/python/cpython/pull/133406/commits/43caa3fadf83428707b4abded312ceb238c52388 |
| 43caa3f | https://github.com/python/cpython/pull/133406/commits/43caa3fadf83428707b4abded312ceb238c52388 |
|
| https://github.com/sobolevn |
| Introduce _ANY_MARKER | https://github.com/python/cpython/pull/133406/commits/33b279dfcfca200bf8e862b14fffe9997214e371 |
| 33b279d | https://github.com/python/cpython/pull/133406/commits/33b279dfcfca200bf8e862b14fffe9997214e371 |
|
| https://github.com/sobolevn |
| Merge branch 'main' into issue-82129-2 | https://github.com/python/cpython/pull/133406/commits/d5ddb16488d776ad3f6a830173cbb94eb375a934 |
| d5ddb16 | https://github.com/python/cpython/pull/133406/commits/d5ddb16488d776ad3f6a830173cbb94eb375a934 |
|
| https://github.com/sobolevn |
| WIP | https://github.com/python/cpython/pull/133406/commits/3b26e36e55f85a73866fa0ae04cb190ea6be01de |
| 3b26e36 | https://github.com/python/cpython/pull/133406/commits/3b26e36e55f85a73866fa0ae04cb190ea6be01de |
|
| https://github.com/JelleZijlstra |
| Merge branch 'main' into issue-82129-2 | https://github.com/python/cpython/pull/133406/commits/2c4d618a16513f39cf9334669417efb9318e271b |
| 2c4d618 | https://github.com/python/cpython/pull/133406/commits/2c4d618a16513f39cf9334669417efb9318e271b |
|
| https://github.com/JelleZijlstra |
| alt | https://github.com/python/cpython/pull/133406/commits/309da4c011a46d6d56220c3a3ff8d88177c43f66 |
| 309da4c | https://github.com/python/cpython/pull/133406/commits/309da4c011a46d6d56220c3a3ff8d88177c43f66 |
|
| https://github.com/JelleZijlstra |
| better | https://github.com/python/cpython/pull/133406/commits/3d7eb6edb8438414dd6e683377ec57ad9edb7fe6 |
| 3d7eb6e | https://github.com/python/cpython/pull/133406/commits/3d7eb6edb8438414dd6e683377ec57ad9edb7fe6 |
|
| https://github.com/JelleZijlstra |
| comment | https://github.com/python/cpython/pull/133406/commits/95650892fa17fe9edc7497d0e0c2ac001638c9ed |
| 9565089 | https://github.com/python/cpython/pull/133406/commits/95650892fa17fe9edc7497d0e0c2ac001638c9ed |
|
| https://github.com/JelleZijlstra |
| Merge remote-tracking branch 'upstream/main' into gh18219-alt | https://github.com/python/cpython/pull/133406/commits/c013e7b3808f119f68f17faac7ab7c1f8f684fb7 |
| c013e7b | https://github.com/python/cpython/pull/133406/commits/c013e7b3808f119f68f17faac7ab7c1f8f684fb7 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
May 4, 2025
| https://github.com/python/cpython/pull/133406#ref-issue-1199018394 |
|
get_type_hints fails if there are un-annotated fields in a dataclass
#82129
| https://github.com/python/cpython/issues/82129 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
May 4, 2025
| https://github.com/python/cpython/pull/133406#pullrequestreview-2813594956 |
|
View reviewed changes
| https://github.com/python/cpython/pull/133406/files/c013e7b3808f119f68f17faac7ab7c1f8f684fb7 |
| Lib/annotationlib.py | https://github.com/python/cpython/pull/133406/files/c013e7b3808f119f68f17faac7ab7c1f8f684fb7#diff-55449988e121f54fcc768a9fef3619f9209ae218260193de8f44bef68e13c583 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 4, 2025 | https://github.com/python/cpython/pull/133406#discussion_r2072731370 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #133407 | https://github.com/python/cpython/pull/133407 |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
|
May 4, 2025
| https://github.com/python/cpython/pull/133406#pullrequestreview-2813595342 |
|
View reviewed changes
| https://github.com/python/cpython/pull/133406/files/c013e7b3808f119f68f17faac7ab7c1f8f684fb7 |
| sobolevn | https://github.com/sobolevn |
| https://github.com/python/cpython/pull/133406#pullrequestreview-2813595342 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 4, 2025 22:59 | https://github.com/python/cpython/pull/133406#event-17511775659 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| ericvsmith | https://github.com/ericvsmith |
| code owner | https://github.com/python/cpython/blob/af5799f3056b0eee61fc09587633500a3690e67e/.github/CODEOWNERS#L242 |
| May 4, 2025 22:59 | https://github.com/python/cpython/pull/133406#event-17511775667 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| May 4, 2025 | https://github.com/python/cpython/pull/133406#event-17511775766 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| sobolevn | https://github.com/sobolevn |
| May 4, 2025 23:26 | https://github.com/python/cpython/pull/133406#event-17511841029 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
|
May 5, 2025
| https://github.com/python/cpython/pull/133406#pullrequestreview-2814006785 |
|
View reviewed changes
| https://github.com/python/cpython/pull/133406/files/c013e7b3808f119f68f17faac7ab7c1f8f684fb7 |
| sobolevn | https://github.com/sobolevn |
| https://github.com/python/cpython/pull/133406#pullrequestreview-2814006785 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
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 5, 2025 | https://github.com/python/cpython/pull/133406#event-17514678411 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| bb5ec6e | https://github.com/python/cpython/commit/bb5ec6ea6e2fd270882dd9244c7d050882470095 |
| May 5, 2025 | https://github.com/python/cpython/pull/133406#event-17521597805 |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 5, 2025 | https://github.com/python/cpython/pull/133406#event-17521598539 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 5, 2025 15:21 | https://github.com/python/cpython/pull/133406#event-17521599169 |
| Pranjal095 | https://github.com/Pranjal095 |
|
Jul 12, 2025
| https://github.com/python/cpython/pull/133406#ref-commit-2e9b8e9 |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/sobolevn |
|
| https://github.com/carljm |
|
| https://github.com/Pranjal095 |
| pythongh-82129 | https://github.com/python/cpython/issues/82129 |
| : Improve annotations for make_dataclass() ( | https://github.com/Pranjal095/cpython/commit/2e9b8e985d80dd87c73ac5cf092b769a1e0fe6d3 |
| python#133406 | https://github.com/python/cpython/pull/133406 |
| ) | https://github.com/Pranjal095/cpython/commit/2e9b8e985d80dd87c73ac5cf092b769a1e0fe6d3 |
| 2e9b8e9 | https://github.com/Pranjal095/cpython/commit/2e9b8e985d80dd87c73ac5cf092b769a1e0fe6d3 |
| 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%2F133406 |
|
| https://github.com/sobolevn |
|
sobolevn
| https://github.com/sobolevn |
|
| https://github.com/python/cpython/pull/133406/files/c013e7b3808f119f68f17faac7ab7c1f8f684fb7 |
|
| https://github.com/ericvsmith |
|
ericvsmith
| https://github.com/ericvsmith |
|
get_type_hints fails if there are un-annotated fields in a dataclass
| https://github.com/python/cpython/issues/82129 |
| Please reload this page | https://github.com/python/cpython/pull/133406 |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/sobolevn |
|
| 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 |