| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:58fa7a2e-0e0e-3a39-9063-72ca054a92ac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D792:3BDB63:C2F759:1114B3D:696A64DC |
| html-safe-nonce | 3ba83c49b41213c84444c2c581e709160ffbc55d0f8ba5bd8cb37755d0d3236c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzkyOjNCREI2MzpDMkY3NTk6MTExNEIzRDo2OTZBNjREQyIsInZpc2l0b3JfaWQiOiIyNDA4NzEzMDEzOTM0MzE4ODEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 197db6cd81513d81ddd5c7a851dc27a7365954e0d7dd40d1a818f008864f6b94 |
| hovercard-subject-tag | pull_request:834827013 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/30997/files |
| twitter:image | https://avatars.githubusercontent.com/u/1444900?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1444900?s=400&v=4 |
| og:image:alt | We also remove the support for leading spaces in stringified dataclasses annotations (ref https://bugs.python.org/issue46552 ) and allow nested leading Annotated[] annotations (see the PEP).
Iss... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/30997/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30997%2Ffiles |
| 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%2F30997%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/30997/files |
| Reload | https://github.com/python/cpython/pull/30997/files |
| Reload | https://github.com/python/cpython/pull/30997/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/30997/files |
|
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/30997/files |
|
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 |
| GBeauregard | https://github.com/GBeauregard |
| python:main | https://github.com/python/cpython/tree/main |
| GBeauregard:dataclasses-wrap | https://github.com/GBeauregard/cpython/tree/dataclasses-wrap |
|
Conversation
14
| https://github.com/python/cpython/pull/30997 |
|
Commits
12
| https://github.com/python/cpython/pull/30997/commits |
|
Checks
0
| https://github.com/python/cpython/pull/30997/checks |
|
Files changed
| https://github.com/python/cpython/pull/30997/files |
| Please reload this page | https://github.com/python/cpython/pull/30997/files |
|
gh-90669: Let typing.Annotated wrap dataclasses annotations
| https://github.com/python/cpython/pull/30997/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/30997/files |
|
f2676ba
Let typing.Annotated wrap dataclasses annotations
GBeauregard Jan 28, 2022
| https://github.com/python/cpython/pull/30997/commits/f2676badc548837350a99b9c0d333bc42edfa487 |
|
d86d24b
📜🤖 Added by blurb_it.
blurb-it[bot] Jan 28, 2022
| https://github.com/python/cpython/pull/30997/commits/d86d24b62dfd575e185104480cc6fdd3fb0215eb |
|
d5937e9
less invasive patch
GBeauregard Jan 28, 2022
| https://github.com/python/cpython/pull/30997/commits/d5937e92b3bc043667a1988b156f8fc0310bcf8e |
|
090c6f1
remove extra space
GBeauregard Jan 28, 2022
| https://github.com/python/cpython/pull/30997/commits/090c6f13cd75320d22cbc488d8e74ace78bd3a76 |
|
6bd856c
remove support for Annotated[KW_ONLY, ...]
GBeauregard Jan 29, 2022
| https://github.com/python/cpython/pull/30997/commits/6bd856cfe8a032b76c172e4b469d849585f3932b |
|
eff831a
add tests to address review comments
GBeauregard Jan 29, 2022
| https://github.com/python/cpython/pull/30997/commits/eff831a6ad13adc983416c5e595e9699122838ae |
|
bd78d34
Update 2022-01-28-21-27-09.bpo-46511.092D9i.rst
GBeauregard Jan 29, 2022
| https://github.com/python/cpython/pull/30997/commits/bd78d34e3bc1ad9c0582316d52899000386ffbe1 |
|
e5cdf7d
add comment to explain code
GBeauregard Jan 29, 2022
| https://github.com/python/cpython/pull/30997/commits/e5cdf7d9c6e18c5341607f88f75e7050943a625a |
|
3b26a89
Merge branch 'python:main' into dataclasses-wrap
GBeauregard Mar 19, 2022
| https://github.com/python/cpython/pull/30997/commits/3b26a89914a22674f283ef5b904975a14fbae4b9 |
|
e099a4a
remove no longer needed __call__
GBeauregard Mar 19, 2022
| https://github.com/python/cpython/pull/30997/commits/e099a4a68dcf4ca05b09c027233e3f5fcb802c04 |
|
9786513
Merge branch 'main' into dataclasses-wrap
AlexWaygood Jun 6, 2023
| https://github.com/python/cpython/pull/30997/commits/9786513d8d794da14a04e06702b3f72aae8479d0 |
|
bf9d39b
Merge branch 'main' into dataclasses-wrap
AlexWaygood Jul 24, 2023
| https://github.com/python/cpython/pull/30997/commits/bf9d39b2d93884b5fe20b7834ae8871e0c2abda9 |
|
Clear filters
| https://github.com/python/cpython/pull/30997/files |
| Please reload this page | https://github.com/python/cpython/pull/30997/files |
| Please reload this page | https://github.com/python/cpython/pull/30997/files |
|
dataclasses.py
| https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
test_dataclasses.py
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
2022-01-28-21-27-09.bpo-46511.092D9i.rst
| https://github.com/python/cpython/pull/30997/files#diff-ecd0ac4d1b9fe26e695dce3f1ccc8843338e5dec2c8497ac699f01f79730b37d |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L415 |
| Lib/dataclasses.py | https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
View file
| https://github.com/python/cpython/blob/bf9d39b2d93884b5fe20b7834ae8871e0c2abda9/Lib/dataclasses.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/30997/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
| https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
| https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
| https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
| https://github.com/python/cpython/pull/30997/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
| Lib/test/test_dataclasses.py | https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
View file
| https://github.com/python/cpython/blob/bf9d39b2d93884b5fe20b7834ae8871e0c2abda9/Lib/test/test_dataclasses.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/30997/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
| https://github.com/python/cpython/pull/30997/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
| Misc/NEWS.d/next/Library/2022-01-28-21-27-09.bpo-46511.092D9i.rst | https://github.com/python/cpython/pull/30997/files#diff-ecd0ac4d1b9fe26e695dce3f1ccc8843338e5dec2c8497ac699f01f79730b37d |
|
View file
| https://github.com/python/cpython/blob/bf9d39b2d93884b5fe20b7834ae8871e0c2abda9/Misc/NEWS.d/next/Library/2022-01-28-21-27-09.bpo-46511.092D9i.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/30997/{{ revealButtonHref }} |
|
| 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 |