René's URL Explorer Experiment


Title: bpo-42195: Override _CallableGenericAlias's __getitem__ by Fidget-Spinner · Pull Request #23915 · python/cpython · GitHub

Open Graph Title: bpo-42195: Override _CallableGenericAlias's __getitem__ by Fidget-Spinner · Pull Request #23915 · python/cpython

X Title: bpo-42195: Override _CallableGenericAlias's __getitem__ by Fidget-Spinner · Pull Request #23915 · python/cpython

Description: Added __getitem__ for _CallableGenericAlias so that it returns a subclass (itself) of types.GenericAlias rather than the default behavior of returning a plain types.GenericAlias. This fixes repr is...

Open Graph Description: Added __getitem__ for _CallableGenericAlias so that it returns a subclass (itself) of types.GenericAlias rather than the default behavior of returning a plain types.GenericAlias. This fixes repr is...

X Description: Added __getitem__ for _CallableGenericAlias so that it returns a subclass (itself) of types.GenericAlias rather than the default behavior of returning a plain types.GenericAlias. This fixes repr is...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d540ca08-538c-29dd-a478-b172d6462efc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB596:33F365:AABC88:DB394B:696B249C
html-safe-nonceba7d9872cc5f161bc6e0e00c13d566d7d6e13b87c96e3a296cdc6ebf7d9d7eb5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTk2OjMzRjM2NTpBQUJDODg6REIzOTRCOjY5NkIyNDlDIiwidmlzaXRvcl9pZCI6IjY4NTQ4MTMzMzcxMzI5MzQzMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace6af45379148762da02644ad5fc38f5d706fdf65c8d4f33a897a265cabe0e27f
hovercard-subject-tagpull_request:545095359
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/23915/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c1ee87206070e3f6c4ae3d1e7ba61918505754f3a212e978daf6334eb10af163/python/cpython/pull/23915
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1ee87206070e3f6c4ae3d1e7ba61918505754f3a212e978daf6334eb10af163/python/cpython/pull/23915
og:image:altAdded __getitem__ for _CallableGenericAlias so that it returns a subclass (itself) of types.GenericAlias rather than the default behavior of returning a plain types.GenericAlias. This fixes repr is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFidget-Spinner
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/23915#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23915
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%2F23915
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
Reloadhttps://github.com/python/cpython/pull/23915
Reloadhttps://github.com/python/cpython/pull/23915
Reloadhttps://github.com/python/cpython/pull/23915
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/23915
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/23915
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
Jump to bottomhttps://github.com/python/cpython/pull/23915#issue-comment-box
miss-islingtonhttps://github.com/miss-islington
python:masterhttps://github.com/python/cpython/tree/master
Fidget-Spinner:getitem-callablehttps://github.com/Fidget-Spinner/cpython/tree/getitem-callable
bpo-42195: Override _CallableGenericAlias's __getitem__ https://github.com/python/cpython/pull/23915#top
miss-islingtonhttps://github.com/miss-islington
python:masterhttps://github.com/python/cpython/tree/master
Fidget-Spinner:getitem-callablehttps://github.com/Fidget-Spinner/cpython/tree/getitem-callable
Conversation 3 https://github.com/python/cpython/pull/23915
Commits 1 https://github.com/python/cpython/pull/23915/commits
Checks 0 https://github.com/python/cpython/pull/23915/checks
Files changed https://github.com/python/cpython/pull/23915/files
Please reload this pagehttps://github.com/python/cpython/pull/23915
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Dec 24, 2020https://github.com/python/cpython/pull/23915#issue-774124063
Please reload this pagehttps://github.com/python/cpython/pull/23915
https://bugs.python.org/issue42195https://bugs.python.org/issue42195
Please reload this pagehttps://github.com/python/cpython/pull/23915
https://github.com/Fidget-Spinner
Fix callable genericalias __getitem__https://github.com/python/cpython/pull/23915/commits/97603727a1e50ae98c34fb02eaef99a2a7a27f63
9760372https://github.com/python/cpython/pull/23915/commits/97603727a1e50ae98c34fb02eaef99a2a7a27f63
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/eee1c7745ab4eb4f75153e71aaa2a62018b7625a/.github/CODEOWNERS#L108
December 24, 2020 01:34https://github.com/python/cpython/pull/23915#event-4145983032
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4145983167
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4145983269
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Dec 24, 2020https://github.com/python/cpython/pull/23915#issuecomment-750697602
Please reload this pagehttps://github.com/python/cpython/pull/23915
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Dec 24, 2020 https://github.com/python/cpython/pull/23915#ref-pullrequest-759631415
bpo-41559: Implement PEP 612 - Add ParamSpec and Concatenate to typing #23702 https://github.com/python/cpython/pull/23702
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Dec 24, 2020 https://github.com/python/cpython/pull/23915#pullrequestreview-558310954
View reviewed changes https://github.com/python/cpython/pull/23915/files/97603727a1e50ae98c34fb02eaef99a2a7a27f63
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4146191444
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4146191899
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
6dd3da3https://github.com/python/cpython/commit/6dd3da3cf4a0d6cb62d9c2a155434c127183454d
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4146192500
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Dec 24, 2020https://github.com/python/cpython/pull/23915#issuecomment-750713776
@Fidget-Spinnerhttps://github.com/Fidget-Spinner
Please reload this pagehttps://github.com/python/cpython/pull/23915
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4146192546
miss-islingtonhttps://github.com/miss-islington
Dec 24, 2020 https://github.com/python/cpython/pull/23915#ref-commit-aa66f22
https://github.com/Fidget-Spinner
https://github.com/miss-islington
bpo-42195: Override _CallableGenericAlias's __getitem__ (https://github.com/miss-islington/cpython/commit/aa66f22dae7cb31b8ae3e7542467d17d106c7eba
pythonGH-23915https://github.com/python/cpython/pull/23915
)https://github.com/miss-islington/cpython/commit/aa66f22dae7cb31b8ae3e7542467d17d106c7eba
aa66f22https://github.com/miss-islington/cpython/commit/aa66f22dae7cb31b8ae3e7542467d17d106c7eba
6dd3da3https://github.com/miss-islington/cpython/commit/6dd3da3cf4a0d6cb62d9c2a155434c127183454d
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Dec 24, 2020https://github.com/python/cpython/pull/23915#event-4146193203
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 24, 2020https://github.com/python/cpython/pull/23915#issuecomment-750713872
GH-23916https://github.com/python/cpython/pull/23916
3.9 branchhttps://github.com/python/cpython/tree/3.9
Please reload this pagehttps://github.com/python/cpython/pull/23915
miss-islingtonhttps://github.com/miss-islington
Dec 24, 2020 https://github.com/python/cpython/pull/23915#ref-commit-a125198
https://github.com/miss-islington
https://github.com/Fidget-Spinner
bpo-42195https://bugs.python.org/issue?@action=redirect&bpo=42195
: Override _CallableGenericAlias's __getitem__ (https://github.com/python/cpython/commit/a1251980d20ee8aab8d887fc0d30a726247327af
GH-23915https://github.com/python/cpython/pull/23915
)https://github.com/python/cpython/commit/a1251980d20ee8aab8d887fc0d30a726247327af
a125198https://github.com/python/cpython/commit/a1251980d20ee8aab8d887fc0d30a726247327af
6dd3da3https://github.com/python/cpython/commit/6dd3da3cf4a0d6cb62d9c2a155434c127183454d
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
December 24, 2020 04:26https://github.com/python/cpython/pull/23915#event-4146340954
adorilsonhttps://github.com/adorilson
Mar 13, 2021 https://github.com/python/cpython/pull/23915#ref-commit-01c00fa
https://github.com/Fidget-Spinner
https://github.com/adorilson
bpo-42195: Override _CallableGenericAlias's __getitem__ (https://github.com/adorilson/cpython/commit/01c00fa9e50ee8d06a52696068513cc894b8d5dd
pythonGH-23915https://github.com/python/cpython/pull/23915
)https://github.com/adorilson/cpython/commit/01c00fa9e50ee8d06a52696068513cc894b8d5dd
01c00fahttps://github.com/adorilson/cpython/commit/01c00fa9e50ee8d06a52696068513cc894b8d5dd
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23915
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/23915/files/97603727a1e50ae98c34fb02eaef99a2a7a27f63
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/23915
https://github.com/Fidget-Spinner
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/gvanrossum
https://github.com/the-knights-who-say-ni
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.