| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c22d7afa-f2bb-97f5-c89e-2682bd8d47ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF1E:1B1D69:1B01877:2535BBC:696AA93D |
| html-safe-nonce | e0f954b7894aafea3579dfafb0d29514bc838be3f5ed8b57c6b2da61e3163434 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjFFOjFCMUQ2OToxQjAxODc3OjI1MzVCQkM6Njk2QUE5M0QiLCJ2aXNpdG9yX2lkIjoiNzM2MjY2NDEzMDA3MTQwNjkwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a7aa8d53e22eab875421061575c0a1b49c689d4093e52f49ffc30841bf769ac |
| hovercard-subject-tag | pull_request:835360837 |
| 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/31019/files |
| twitter:image | https://avatars.githubusercontent.com/u/4431336?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4431336?s=400&v=4 |
| og:image:alt | These are the parts of the old PR (#30398) relevant to starring tuples. This allows us to do things like *args: *tuple[int, *Ts] (where Ts is a TypeVarTuple).
@gvanrossum Pradeep and I were wonderi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| 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 | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/31019/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31019%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%2F31019%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/31019/files |
| Reload | https://github.com/python/cpython/pull/31019/files |
| Reload | https://github.com/python/cpython/pull/31019/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/31019/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/31019/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 |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
| python:main | https://github.com/python/cpython/tree/main |
| mrahtz:pep646-tuple | https://github.com/mrahtz/cpython/tree/pep646-tuple |
|
Conversation
49
| https://github.com/python/cpython/pull/31019 |
|
Commits
19
| https://github.com/python/cpython/pull/31019/commits |
|
Checks
0
| https://github.com/python/cpython/pull/31019/checks |
|
Files changed
| https://github.com/python/cpython/pull/31019/files |
| Please reload this page | https://github.com/python/cpython/pull/31019/files |
|
bpo-43224: Implement PEP 646 changes to genericaliasobject.c
| https://github.com/python/cpython/pull/31019/files#top |
|
Show all changes
19 commits
| https://github.com/python/cpython/pull/31019/files |
|
e8bb03b
PEP 646: Implement changes to genericaliasobject.c
mrahtz Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/e8bb03b9e92ef794167995d19d26e8bef58d2293 |
|
9cb2aec
📜🤖 Added by blurb_it.
blurb-it[bot] Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/9cb2aec0a0872669ada4169fa6044ce16956b336 |
|
b3fa489
Swap an assignment and an INCREF to a NewRef
mrahtz Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/b3fa489529eb98e139beef2a9ed0d6a75c2e5c8a |
|
ec81d44
Fix cast whitespace
mrahtz Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/ec81d4484c953277f454ba76523c7a8f5eeff950 |
|
968b3fb
Add NULL check
mrahtz Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/968b3fbacbaf825f4a9ef01a405f76a9be491b51 |
|
4aa94df
Remove restriction that only `tuple` can be unpacked
mrahtz Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/4aa94df3b0766ed971fde990edf7820539555535 |
|
c256bc9
Remove test which is no longer necessary
mrahtz Jan 30, 2022
| https://github.com/python/cpython/pull/31019/commits/c256bc99d9232d83f7aabc1dab4e70320a89e227 |
|
e4a72b4
Fix news
mrahtz Feb 1, 2022
| https://github.com/python/cpython/pull/31019/commits/e4a72b4bc4cc419da6a6e52956b1719940286085 |
|
742d283
Import suggestions from kumaraditya303 from previous PR
mrahtz Feb 1, 2022
| https://github.com/python/cpython/pull/31019/commits/742d283952f9ee0243f5f147b12b37ac57c67245 |
|
d4d97b3
Use public PyObject_GC_Track
mrahtz Feb 1, 2022
| https://github.com/python/cpython/pull/31019/commits/d4d97b3af0d8ccbf4d913ac5e677adceae3914b5 |
|
7f06e2a
Use public PyObject_GC_UnTrack
mrahtz Feb 1, 2022
| https://github.com/python/cpython/pull/31019/commits/7f06e2a8dded808f716e4d0d138eef939fc94d9a |
|
6bf3caa
fix gc
kumaraditya303 Feb 8, 2022
| https://github.com/python/cpython/pull/31019/commits/6bf3caa0e7483b28f97802f02606a844c33bff57 |
|
06308d2
Merge pull request #6 from kumaraditya303/pep646-tuple
mrahtz Feb 14, 2022
| https://github.com/python/cpython/pull/31019/commits/06308d2f96af1407399a13066f04918d560eb8ab |
|
e554309
Implement tp_clear; set StopIteration explicitly; add curly braces
mrahtz Feb 14, 2022
| https://github.com/python/cpython/pull/31019/commits/e55430911c2b952d424bb02632908c326fac52d6 |
|
eaf8083
Add more tests
mrahtz Feb 14, 2022
| https://github.com/python/cpython/pull/31019/commits/eaf8083518c27e6d9f00802d52bfee3d524fc95e |
|
38dca54
Remove references to starred *tuples* specifically (since we removed …
mrahtz Feb 15, 2022
| https://github.com/python/cpython/pull/31019/commits/38dca54e5a2e94237fa4691e73287b642732e9fb |
|
1102d27
Merge branch 'main' into pep646-tuple
mrahtz Mar 10, 2022
| https://github.com/python/cpython/pull/31019/commits/1102d27ecdef59ac04449e4c5955fb22e2585624 |
|
eda60f9
Merge branch 'main' into pep646-tuple
mrahtz Mar 10, 2022
| https://github.com/python/cpython/pull/31019/commits/eda60f9eb5da5e77b82b7b13c4ecb013d96b56be |
|
5fe058e
Merge branch 'main' into pep646-tuple
mrahtz Mar 11, 2022
| https://github.com/python/cpython/pull/31019/commits/5fe058ee8f12db9c3cf8a2f3908c4bd1c58dbd14 |
|
Clear filters
| https://github.com/python/cpython/pull/31019/files |
| Please reload this page | https://github.com/python/cpython/pull/31019/files |
| Please reload this page | https://github.com/python/cpython/pull/31019/files |
|
test_genericalias.py
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
2022-01-30-20-32-40.bpo-43224.zqrQsj.rst
| https://github.com/python/cpython/pull/31019/files#diff-b38533d379264c6b71cd73462c6e66de801c4cc0f79fb42c6410683ebd323a26 |
|
genericaliasobject.c
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
| Lib/test/test_genericalias.py | https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
View file
| https://github.com/mrahtz/cpython/blob/5fe058ee8f12db9c3cf8a2f3908c4bd1c58dbd14/Lib/test/test_genericalias.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31019/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
|
| https://github.com/python/cpython/pull/31019/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944 |
| Misc/NEWS.d/next/Library/2022-01-30-20-32-40.bpo-43224.zqrQsj.rst | https://github.com/python/cpython/pull/31019/files#diff-b38533d379264c6b71cd73462c6e66de801c4cc0f79fb42c6410683ebd323a26 |
|
View file
| https://github.com/mrahtz/cpython/blob/5fe058ee8f12db9c3cf8a2f3908c4bd1c58dbd14/Misc/NEWS.d/next/Library/2022-01-30-20-32-40.bpo-43224.zqrQsj.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31019/{{ revealButtonHref }} |
| Objects/genericaliasobject.c | https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
View file
| https://github.com/mrahtz/cpython/blob/5fe058ee8f12db9c3cf8a2f3908c4bd1c58dbd14/Objects/genericaliasobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31019/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
| Please reload this page | https://github.com/python/cpython/pull/31019/files |
| Please reload this page | https://github.com/python/cpython/pull/31019/files |
| Please reload this page | https://github.com/python/cpython/pull/31019/files |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| https://github.com/python/cpython/pull/31019/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014 |
|
| 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 |