René's URL Explorer Experiment


Title: bpo-46655: allow stringized TypeAlias with get_type_hints by GBeauregard · Pull Request #31156 · python/cpython · GitHub

Open Graph Title: bpo-46655: allow stringized TypeAlias with get_type_hints by GBeauregard · Pull Request #31156 · python/cpython

X Title: bpo-46655: allow stringized TypeAlias with get_type_hints by GBeauregard · Pull Request #31156 · python/cpython

Description: This is a bit weird; it isn't a type, after all. However, _type_check is called as part of stringized annotation resolution so all valid typeforms need a code path to get through it or we will caus...

Open Graph Description: This is a bit weird; it isn't a type, after all. However, _type_check is called as part of stringized annotation resolution so all valid typeforms need a code path to get through it or we will ...

X Description: This is a bit weird; it isn't a type, after all. However, _type_check is called as part of stringized annotation resolution so all valid typeforms need a code path to get through it or we w...

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

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:d9f11625-8781-ccaa-3ff5-830aa054980b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD566:D7362:53DA3:70646:696A9E02
html-safe-nonce99258d727a26cacd1c354f99aec9b02c56b5ae41422fe1cb75cbda971ed37da7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTY2OkQ3MzYyOjUzREEzOjcwNjQ2OjY5NkE5RTAyIiwidmlzaXRvcl9pZCI6IjY1Nzg4NzA4NDUyMzUxNzQ5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac773ca07a6aa3c8d53a14828f8b2e7c6df7aa5e123c569df8f548fb4a229a32d2
hovercard-subject-tagpull_request:841023090
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/31156/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6990d1d1e8e0e972cddf9070bf1acbb939132ae9b21c8ddc9822e3464421917b/python/cpython/pull/31156
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6990d1d1e8e0e972cddf9070bf1acbb939132ae9b21c8ddc9822e3464421917b/python/cpython/pull/31156
og:image:altThis is a bit weird; it isn't a type, after all. However, _type_check is called as part of stringized annotation resolution so all valid typeforms need a code path to get through it or we will ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGBeauregard
hostnamegithub.com
expected-hostnamegithub.com
Nonea51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261
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
release4bd0eac606c70914085176ef312ebdcd97a8cdf1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31156#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31156
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%2F31156
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/31156
Reloadhttps://github.com/python/cpython/pull/31156
Reloadhttps://github.com/python/cpython/pull/31156
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31156
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/31156
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/31156#issue-comment-box
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
GBeauregard:fix-typealiashttps://github.com/GBeauregard/cpython/tree/fix-typealias
bpo-46655: allow stringized TypeAlias with get_type_hints https://github.com/python/cpython/pull/31156#top
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
GBeauregard:fix-typealiashttps://github.com/GBeauregard/cpython/tree/fix-typealias
Conversation 5 https://github.com/python/cpython/pull/31156
Commits 3 https://github.com/python/cpython/pull/31156/commits
Checks 0 https://github.com/python/cpython/pull/31156/checks
Files changed https://github.com/python/cpython/pull/31156/files
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/GBeauregard
GBeauregardhttps://github.com/GBeauregard
Feb 6, 2022https://github.com/python/cpython/pull/31156#issue-1125141499
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://bugs.python.org/issue46655https://bugs.python.org/issue46655
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.com/GBeauregard
allow stringized TypeAlias with get_type_hintshttps://github.com/python/cpython/pull/31156/commits/64f45a7e213e774415740c9b2c5058a8548010c5
64f45a7https://github.com/python/cpython/pull/31156/commits/64f45a7e213e774415740c9b2c5058a8548010c5
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
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6014757793
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
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6014757804
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/31156/commits/7b425d9bced0b51f8c35138346ec9dffec6b561f
7b425d9https://github.com/python/cpython/pull/31156/commits/7b425d9bced0b51f8c35138346ec9dffec6b561f
https://github.com/GBeauregard
GBeauregardhttps://github.com/GBeauregard
February 6, 2022 08:54https://github.com/python/cpython/pull/31156#event-6014768180
https://github.com/GBeauregard
GBeauregardhttps://github.com/GBeauregard
Fidget-Spinnerhttps://github.com/Fidget-Spinner
gvanrossumhttps://github.com/gvanrossum
code ownershttps://github.com/python/cpython/blob/96b344c2f15cb09251018f57f19643fe20637392/.github/CODEOWNERS#L139
February 6, 2022 08:54https://github.com/python/cpython/pull/31156#event-6014768191
https://github.com/GBeauregard
Merge branch 'python:main' into fix-typealiashttps://github.com/python/cpython/pull/31156/commits/2c36c6c4d5f1f4297971afb7fc63f9f4388d387c
2c36c6chttps://github.com/python/cpython/pull/31156/commits/2c36c6c4d5f1f4297971afb7fc63f9f4388d387c
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 6, 2022 https://github.com/python/cpython/pull/31156#pullrequestreview-874069966
View reviewed changes https://github.com/python/cpython/pull/31156/files/2c36c6c4d5f1f4297971afb7fc63f9f4388d387c
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6015365627
https://github.com/GBeauregard
GBeauregardhttps://github.com/GBeauregard
Feb 6, 2022 https://github.com/python/cpython/pull/31156#ref-pullrequest-1125184029
bpo-46644: No longer accept arbitrary callables as type arguments in generics #31159 https://github.com/python/cpython/pull/31159
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
77b025bhttps://github.com/python/cpython/commit/77b025be4a4cd5a3bfc1b1af560cc57e8e956c98
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6015680733
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6015680788
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2022https://github.com/python/cpython/pull/31156#issuecomment-1030937109
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6015682221
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Feb 6, 2022https://github.com/python/cpython/pull/31156#issuecomment-1030937457
@GBeauregardhttps://github.com/GBeauregard
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Feb 6, 2022https://github.com/python/cpython/pull/31156#issuecomment-1030937521
@GBeauregardhttps://github.com/GBeauregard
@gvanrossumhttps://github.com/gvanrossum
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
gvanrossumhttps://github.com/gvanrossum
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6015682553
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 6, 2022https://github.com/python/cpython/pull/31156#issuecomment-1030937573
Please reload this pagehttps://github.com/python/cpython/pull/31156
GBeauregardhttps://github.com/GBeauregard
Feb 6, 2022 https://github.com/python/cpython/pull/31156#ref-commit-bb90f02
https://github.com/GBeauregard
[3.10] bpo-46655: allow stringized TypeAlias with get_type_hints (https://github.com/GBeauregard/cpython/commit/bb90f0248a50e56ed63245db141492165ab85fcc
pyt…https://github.com/python/cpython/pull/31156
bb90f02https://github.com/GBeauregard/cpython/commit/bb90f0248a50e56ed63245db141492165ab85fcc
…honGH-31156https://github.com/python/cpython/pull/31156
77b025bhttps://github.com/GBeauregard/cpython/commit/77b025be4a4cd5a3bfc1b1af560cc57e8e956c98
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Feb 6, 2022https://github.com/python/cpython/pull/31156#event-6015701755
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 6, 2022https://github.com/python/cpython/pull/31156#issuecomment-1030940920
GH-31175https://github.com/python/cpython/pull/31175
3.10 branchhttps://github.com/python/cpython/tree/3.10
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.com/GBeauregard
GBeauregardhttps://github.com/GBeauregard
February 6, 2022 23:38https://github.com/python/cpython/pull/31156#event-6015705457
gvanrossumhttps://github.com/gvanrossum
Feb 7, 2022 https://github.com/python/cpython/pull/31156#ref-commit-e2eeffe
https://github.com/GBeauregard
[3.10]https://github.com/python/cpython/commit/e2eeffefed32bb8c47c09bdd94e27a4e949894ef
bpo-46655https://bugs.python.org/issue?@action=redirect&bpo=46655
: allow stringized TypeAlias with get_type_hints (https://github.com/python/cpython/commit/e2eeffefed32bb8c47c09bdd94e27a4e949894ef
GH-…https://github.com/python/cpython/pull/31156
e2eeffehttps://github.com/python/cpython/commit/e2eeffefed32bb8c47c09bdd94e27a4e949894ef
…31156https://github.com/python/cpython/pull/31156
#31175https://github.com/python/cpython/pull/31175
77b025bhttps://github.com/python/cpython/commit/77b025be4a4cd5a3bfc1b1af560cc57e8e956c98
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 13, 2022 https://github.com/python/cpython/pull/31156#ref-issue-1202640563
Add typing to 3.11 What's New #91491 https://github.com/python/cpython/issues/91491
https://github.com/python/cpython/pull/31156
GBeauregardhttps://github.com/python/cpython/pull/31156
Apr 13, 2022 https://github.com/python/cpython/pull/31156#ref-issue-1199074734
typing.TypeAlias is not in the list of allowed plain _SpecialForm typeforms #90813 https://github.com/python/cpython/issues/90813
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%2F31156
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/31156/files/2c36c6c4d5f1f4297971afb7fc63f9f4388d387c
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
Please reload this pagehttps://github.com/python/cpython/pull/31156
https://github.com/GBeauregard
https://github.com/gvanrossum
https://github.com/miss-islington
https://github.com/JelleZijlstra
https://github.com/bedevere-bot
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.