| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:90700589-933f-bbf8-3c6d-d09f41d412c9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E8A8:1D81B0:1B5E86D:2579A9F:696AB631 |
| html-safe-nonce | 05f48f27be399570d087b77ff60d16e39b4b51f90c9de1f639a573ee25b0ad74 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEE4OjFEODFCMDoxQjVFODZEOjI1NzlBOUY6Njk2QUI2MzEiLCJ2aXNpdG9yX2lkIjoiNjQxODc5MDczMTE0NDE0ODUyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c25977018777ba8b441c985b5ede7c3ad3e0beea29674eb6ced912d66edb3e6e |
| hovercard-subject-tag | pull_request:837484805 |
| 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/31061/files |
| twitter:image | https://avatars.githubusercontent.com/u/222581?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/222581?s=400&v=4 |
| og:image:alt | GH-26091 added the _typevar_types and _paramspec_tvars instance variables to _GenericAlias. However, they were not propagated consistently. This commit addresses the most prominent deficiency ident... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/31061/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31061%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%2F31061%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/31061/files |
| Reload | https://github.com/python/cpython/pull/31061/files |
| Reload | https://github.com/python/cpython/pull/31061/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/31061/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/31061/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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| posita:posita/0/fix-bpo-46581-generic-alias | https://github.com/posita/cpython/tree/posita/0/fix-bpo-46581-generic-alias |
|
Conversation
49
| https://github.com/python/cpython/pull/31061 |
|
Commits
9
| https://github.com/python/cpython/pull/31061/commits |
|
Checks
0
| https://github.com/python/cpython/pull/31061/checks |
|
Files changed
| https://github.com/python/cpython/pull/31061/files |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
|
bpo-46581: Propagate private vars via _GenericAlias.copy_with
| https://github.com/python/cpython/pull/31061/files#top |
|
Show all changes
9 commits
| https://github.com/python/cpython/pull/31061/files |
|
90bdf0d
bpo-46581: Propagate private vars via _GenericAlias.copy_with
posita Feb 1, 2022
| https://github.com/python/cpython/pull/31061/commits/90bdf0d3df7923bd2bf58f2c9dac3433e6c92b2f |
|
19e9207
Move tests to test_typing
posita Feb 26, 2022
| https://github.com/python/cpython/pull/31061/commits/19e9207cca392c57b23c07102bfdbd21ab962854 |
|
e30f7ea
Move copy edits to #31684
posita Mar 4, 2022
| https://github.com/python/cpython/pull/31061/commits/e30f7eabf8e7b2fc9c728f109af837d4e99ff254 |
|
06bd0c3
Update Lib/typing.py
posita Mar 6, 2022
| https://github.com/python/cpython/pull/31061/commits/06bd0c308cf91f973f4a499b0e6e84bcfecd5f6c |
|
2cd8199
Adopt @serhiy-storchaka's suggestions for approach
posita Mar 8, 2022
| https://github.com/python/cpython/pull/31061/commits/2cd81996ba337cb2f201286c3f017a48d5a55cc2 |
|
b222b3d
Remove redunant in-test imports
posita Mar 9, 2022
| https://github.com/python/cpython/pull/31061/commits/b222b3d4e1b259acbcfaa7d2c498b3f325cb77d2 |
|
ad0431d
Recraft test to not depend on internal details
posita Mar 9, 2022
| https://github.com/python/cpython/pull/31061/commits/ad0431d2ee8d06d0304a83276fa25117cdd04760 |
|
6db57f5
Move test to ParamSpecTests
posita Mar 10, 2022
| https://github.com/python/cpython/pull/31061/commits/6db57f55ef12866fe70547d655dd4b49370a3bb9 |
|
031c617
Update Lib/test/test_typing.py
serhiy-storchaka Mar 10, 2022
| https://github.com/python/cpython/pull/31061/commits/031c6175b548effe35bd673048d1269b22e43727 |
|
Clear filters
| https://github.com/python/cpython/pull/31061/files |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
|
test_typing.py
| https://github.com/python/cpython/pull/31061/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d |
|
typing.py
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
ACKS
| https://github.com/python/cpython/pull/31061/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
2022-02-01-11-32-47.bpo-46581.t7Zw65.rst
| https://github.com/python/cpython/pull/31061/files#diff-342ce6eb72310ee05e41d8897f6726904fd2bcbe83c79cf4f58e344e366db1c4 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L599 |
| Lib/test/test_typing.py | https://github.com/python/cpython/pull/31061/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d |
|
View file
| https://github.com/posita/cpython/blob/031c6175b548effe35bd673048d1269b22e43727/Lib/test/test_typing.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31061/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31061/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Mar 10, 2022 | https://github.com/python/cpython/pull/31061/files#r823707366 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
|
| https://github.com/python/cpython/pull/31061/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L601 |
| Lib/typing.py | https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
View file
| https://github.com/posita/cpython/blob/031c6175b548effe35bd673048d1269b22e43727/Lib/typing.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31061/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
| Please reload this page | https://github.com/python/cpython/pull/31061/files |
|
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
|
| https://github.com/python/cpython/pull/31061/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
| Misc/ACKS | https://github.com/python/cpython/pull/31061/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
View file
| https://github.com/posita/cpython/blob/031c6175b548effe35bd673048d1269b22e43727/Misc/ACKS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31061/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31061/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| https://github.com/python/cpython/pull/31061/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Misc/NEWS.d/next/Library/2022-02-01-11-32-47.bpo-46581.t7Zw65.rst | https://github.com/python/cpython/pull/31061/files#diff-342ce6eb72310ee05e41d8897f6726904fd2bcbe83c79cf4f58e344e366db1c4 |
|
View file
| https://github.com/posita/cpython/blob/031c6175b548effe35bd673048d1269b22e43727/Misc/NEWS.d/next/Library/2022-02-01-11-32-47.bpo-46581.t7Zw65.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31061/{{ 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 |