René's URL Explorer Experiment


Title: gh-88959: Add __parameters__ and __getitem__ in TypeVar and ParamSpec by serhiy-storchaka · Pull Request #27511 · python/cpython · GitHub

Open Graph Title: gh-88959: Add __parameters__ and __getitem__ in TypeVar and ParamSpec by serhiy-storchaka · Pull Request #27511 · python/cpython

X Title: gh-88959: Add __parameters__ and __getitem__ in TypeVar and ParamSpec by serhiy-storchaka · Pull Request #27511 · python/cpython

Description: Issue: gh-88959

Open Graph Description: Issue: gh-88959

X Description: Issue: gh-88959

Opengraph URL: https://github.com/python/cpython/pull/27511

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:83bf3d4b-1ccf-0b9d-4d5a-4410adc4ab7f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F92:1219C5:69E09D:946647:696A1CB3
html-safe-nonce5b39d7795aa18f71ae8104d7e6c7a31d6c9139b424d49a5704a29e751df94e69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjkyOjEyMTlDNTo2OUUwOUQ6OTQ2NjQ3OjY5NkExQ0IzIiwidmlzaXRvcl9pZCI6IjUyNDA2MTE3NDc5MzUxNjU2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1698a98aa058dc56df5a7afb308cc8aaaa4d25502910eac43d7520dbfba5c8fd
hovercard-subject-tagpull_request:700711352
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/27511/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altIssue: gh-88959
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released515f6f09fa57a93bf90355cb894eb84ca4f458f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/27511/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27511%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F27511%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
Reloadhttps://github.com/python/cpython/pull/27511/files
Reloadhttps://github.com/python/cpython/pull/27511/files
Reloadhttps://github.com/python/cpython/pull/27511/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/27511/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 pagehttps://github.com/python/cpython/pull/27511/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:typevar-substhttps://github.com/serhiy-storchaka/cpython/tree/typevar-subst
Conversation 1 https://github.com/python/cpython/pull/27511
Commits 17 https://github.com/python/cpython/pull/27511/commits
Checks 0 https://github.com/python/cpython/pull/27511/checks
Files changed 6 https://github.com/python/cpython/pull/27511/files
gh-88959: Add __parameters__ and __getitem__ in TypeVar and ParamSpec https://github.com/python/cpython/pull/27511/files#top
Show all changes 17 commits https://github.com/python/cpython/pull/27511/files
edb3202 bpo-44796: Add __parameters__ and __getitem__ in TypeVar and ParamSpec serhiy-storchaka Jul 27, 2021 https://github.com/python/cpython/pull/27511/commits/edb320234e7a5fd260ed1b3be38bf5e1dbae43c2
6fc5cce Merge branch 'main' into typevar-subst serhiy-storchaka Jul 31, 2021 https://github.com/python/cpython/pull/27511/commits/6fc5cce8be393dc2b2b79951fbc78cf6bc51bb2a
69844a7 Merge branch 'main' into typevar-subst serhiy-storchaka Aug 2, 2021 https://github.com/python/cpython/pull/27511/commits/69844a704d87726265ed62d00f32a92464f5bfc2
e82cad2 Merge branch 'main' into typevar-subst serhiy-storchaka Aug 4, 2021 https://github.com/python/cpython/pull/27511/commits/e82cad26af7e7b80f4752a064ac601a67a08d888
98a7c83 More tests. serhiy-storchaka Aug 5, 2021 https://github.com/python/cpython/pull/27511/commits/98a7c83ed2c151fab8faf8d9ed7e64cde2a4e2b7
10ea570 Merge branch 'main' into typevar-subst serhiy-storchaka Jan 30, 2022 https://github.com/python/cpython/pull/27511/commits/10ea570e821d102bdec0780dc4e47d8552884840
d330520 Fix substitution of bare ClassVar and Final. serhiy-storchaka Jan 30, 2022 https://github.com/python/cpython/pull/27511/commits/d330520172044875430a20fc9dc95c959e6ce92e
22556da Merge branch 'main' into typevar-subst serhiy-storchaka Feb 3, 2022 https://github.com/python/cpython/pull/27511/commits/22556da66b5119ab9172a33f84081270a760d6d9
af0d9ea Add more tests and fix substitution of a TypeVar with a ParamSpec serhiy-storchaka Feb 3, 2022 https://github.com/python/cpython/pull/27511/commits/af0d9ea35035ae569d465fc182b308048c40c454
285ec00 Add more tests. serhiy-storchaka Feb 5, 2022 https://github.com/python/cpython/pull/27511/commits/285ec0085dcee95a80c56b884e7dc01305603c65
194cce2 Merge branch 'main' into typevar-subst serhiy-storchaka Feb 5, 2022 https://github.com/python/cpython/pull/27511/commits/194cce25b73add5396c29178dc28499e7401ab74
57fa13a Merge branch 'main' into typevar-subst serhiy-storchaka Feb 6, 2022 https://github.com/python/cpython/pull/27511/commits/57fa13a2edc4c3c0bea14bd6f06622b7aafcba24
5e495e6 Merge branch 'main' into typevar-subst serhiy-storchaka Mar 12, 2022 https://github.com/python/cpython/pull/27511/commits/5e495e640f636bd167104af41cea6c022f226975
a33ce0e Merge branch 'main' into typevar-subst serhiy-storchaka Mar 12, 2022 https://github.com/python/cpython/pull/27511/commits/a33ce0e0c62a50c5cdb4e0f58eca6df3c88df990
16cbd84 Update generated files. serhiy-storchaka Mar 12, 2022 https://github.com/python/cpython/pull/27511/commits/16cbd84714b3ae2f918020bff9afcf0e1ce114ca
a0087e0 Merge branch 'main' into typevar-subst serhiy-storchaka Jun 13, 2022 https://github.com/python/cpython/pull/27511/commits/a0087e0d44896815c5eba0f0469c3af2d8842597
c80b261 Merge branch 'main' into typevar-subst serhiy-storchaka Jun 14, 2022 https://github.com/python/cpython/pull/27511/commits/c80b2613001db4cc9fdc8b812050c3b31267c659
Clear filters https://github.com/python/cpython/pull/27511/files
Please reload this pagehttps://github.com/python/cpython/pull/27511/files
Please reload this pagehttps://github.com/python/cpython/pull/27511/files
pycore_global_strings.h https://github.com/python/cpython/pull/27511/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
pycore_runtime_init.h https://github.com/python/cpython/pull/27511/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
test_typing.py https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
typing.py https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
2021-07-31-16-33-33.bpo-44796.-pyVhM.rst https://github.com/python/cpython/pull/27511/files#diff-03d17211172c987fd309d6083eaaf8f1e0f2cdb043db5d8eeaf550b5c33d34c2
genericaliasobject.c https://github.com/python/cpython/pull/27511/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
Include/internal/pycore_global_strings.hhttps://github.com/python/cpython/pull/27511/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
View file https://github.com/python/cpython/blob/c80b2613001db4cc9fdc8b812050c3b31267c659/Include/internal/pycore_global_strings.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27511/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27511/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/27511/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L312
Include/internal/pycore_runtime_init.hhttps://github.com/python/cpython/pull/27511/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
View file https://github.com/python/cpython/blob/c80b2613001db4cc9fdc8b812050c3b31267c659/Include/internal/pycore_runtime_init.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27511/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27511/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/pull/27511/files#diff-84d4b72a69538f6e60865f5c0301f102c0dca577e47759ac07d7a9a034ee75a2
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L599
Lib/test/test_typing.pyhttps://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
View file https://github.com/python/cpython/blob/c80b2613001db4cc9fdc8b812050c3b31267c659/Lib/test/test_typing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27511/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/27511/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L601
Lib/typing.pyhttps://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
View file https://github.com/python/cpython/blob/c80b2613001db4cc9fdc8b812050c3b31267c659/Lib/typing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27511/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/27511/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Misc/NEWS.d/next/Library/2021-07-31-16-33-33.bpo-44796.-pyVhM.rsthttps://github.com/python/cpython/pull/27511/files#diff-03d17211172c987fd309d6083eaaf8f1e0f2cdb043db5d8eeaf550b5c33d34c2
View file https://github.com/python/cpython/blob/c80b2613001db4cc9fdc8b812050c3b31267c659/Misc/NEWS.d/next/Library/2021-07-31-16-33-33.bpo-44796.-pyVhM.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27511/{{ revealButtonHref }}
Objects/genericaliasobject.chttps://github.com/python/cpython/pull/27511/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
View file https://github.com/python/cpython/blob/c80b2613001db4cc9fdc8b812050c3b31267c659/Objects/genericaliasobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/27511/{{ revealButtonHref }}
https://github.com/python/cpython/pull/27511/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com/python/cpython/pull/27511/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com/python/cpython/pull/27511/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com/python/cpython/pull/27511/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.