René's URL Explorer Experiment


Title: bpo-43224: Implement PEP 646 changes to typing.py by mrahtz · Pull Request #31021 · python/cpython · GitHub

Open Graph Title: bpo-43224: Implement PEP 646 changes to typing.py by mrahtz · Pull Request #31021 · python/cpython

X Title: bpo-43224: Implement PEP 646 changes to typing.py by mrahtz · Pull Request #31021 · python/cpython

Description: These are the parts of the old PR (#30398) relevant to typing.py. Note that we haven't yet merged the grammar PR (#31018), so for the time being all the tests just use Unpack. We can add tests using the actual star operator in a future PR. https://bugs.python.org/issue43224

Open Graph Description: These are the parts of the old PR (#30398) relevant to typing.py. Note that we haven't yet merged the grammar PR (#31018), so for the time being all the tests just use Unpack. We can add tests ...

X Description: These are the parts of the old PR (#30398) relevant to typing.py. Note that we haven't yet merged the grammar PR (#31018), so for the time being all the tests just use Unpack. We can add te...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3a895c8d-18aa-5d0a-b8d7-044dbf7a0698
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0E4:21BBA6:EB26C:1498C8:696A5CD1
html-safe-nonce4472d31331a6850e5ff89750ba5af4460e69a69be6127e07cd1e6f8e6ad852b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEU0OjIxQkJBNjpFQjI2QzoxNDk4Qzg6Njk2QTVDRDEiLCJ2aXNpdG9yX2lkIjoiNTA4MDg4MjIxNDg0NDY1Mjc1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac181242e72e53b241586a4d682f30b0ed67cbff6288637b89e389a007bbad63b2
hovercard-subject-tagpull_request:835373142
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/31021/files
twitter:imagehttps://avatars.githubusercontent.com/u/4431336?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4431336?s=400&v=4
og:image:altThese are the parts of the old PR (#30398) relevant to typing.py. Note that we haven't yet merged the grammar PR (#31018), so for the time being all the tests just use Unpack. We can add tests ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
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
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31021/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31021%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%2F31021%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/31021/files
Reloadhttps://github.com/python/cpython/pull/31021/files
Reloadhttps://github.com/python/cpython/pull/31021/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31021/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/31021/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
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
mrahtz:pep646-typinghttps://github.com/mrahtz/cpython/tree/pep646-typing
Conversation 105 https://github.com/python/cpython/pull/31021
Commits 35 https://github.com/python/cpython/pull/31021/commits
Checks 0 https://github.com/python/cpython/pull/31021/checks
Files changed https://github.com/python/cpython/pull/31021/files
Please reload this pagehttps://github.com/python/cpython/pull/31021/files
bpo-43224: Implement PEP 646 changes to typing.py https://github.com/python/cpython/pull/31021/files#top
Show all changes 35 commits https://github.com/python/cpython/pull/31021/files
0a91264 PEP 646: Implement support in typing.py mrahtz Jan 30, 2022 https://github.com/python/cpython/pull/31021/commits/0a912642cb3b6305af904f8e44169f8bde35924b
33dc1bf Fix typo mrahtz Jan 30, 2022 https://github.com/python/cpython/pull/31021/commits/33dc1bfaa7b162422076cfcfaef9830481c4617a
51ea1af Remove unnecessary whitespace mrahtz Jan 30, 2022 https://github.com/python/cpython/pull/31021/commits/51ea1af41fee4b8014c8d10726992d2ff044ce06
fa133dd Remove some old debug prints mrahtz Jan 30, 2022 https://github.com/python/cpython/pull/31021/commits/fa133dd33a931f97e7fe383196cfee93c9ac7e20
6d1126e Re-implement Unpack using _SpecialForm mrahtz Jan 30, 2022 https://github.com/python/cpython/pull/31021/commits/6d1126e07979a77788bb9682120cfdc1cb40e693
51870e2 📜🤖 Added by blurb_it. blurb-it[bot] Jan 30, 2022 https://github.com/python/cpython/pull/31021/commits/51870e2b1f8f0a9ea915ebf57f3c30a77f06d1e2
bc12b49 Fix call to is_unpacked_typevartuple mrahtz Feb 1, 2022 https://github.com/python/cpython/pull/31021/commits/bc12b492a46ee259f852a6f90702f9938673481b
4a647cf Update docstring for Unpack to reflect that it isn't just for backwar… mrahtz Feb 6, 2022 https://github.com/python/cpython/pull/31021/commits/4a647cf59cef167761c491d5ede51a04a8eec9b2
e4e68a6 Fix _is_unpacked_typevartuple for argument of Unpack[tuple[...]] mrahtz Feb 6, 2022 https://github.com/python/cpython/pull/31021/commits/e4e68a670858492989661fd0d8e7f6c9814938e7
7fb4043 Add more tests for repr of variadic classes mrahtz Feb 6, 2022 https://github.com/python/cpython/pull/31021/commits/7fb404302efeafe833489e4f63e606c02a788e6f
4b1b7f6 Add more tests to test_variadic_class_with_2_typevars_accepts_2_or_mo… mrahtz Feb 6, 2022 https://github.com/python/cpython/pull/31021/commits/4b1b7f61532cff27176dccaa90f8f7bb5029db7d
c4351f9 test_typevar_substitution: Change to loop over test cases mrahtz Feb 7, 2022 https://github.com/python/cpython/pull/31021/commits/c4351f9a661079a996794dad8866c364372f084c
2398387 Merge remote-tracking branch 'python/main' into pep646-typing mrahtz Feb 7, 2022 https://github.com/python/cpython/pull/31021/commits/2398387a7ab7d27ae7a10e3367114b218d315bbb
95625d1 Fix problems after pulling from main mrahtz Feb 8, 2022 https://github.com/python/cpython/pull/31021/commits/95625d17d26f5af6570d8756d04637dd5b1849b0
89cbdeb _determine_typevar_substitution: Change 'params' to 'args' mrahtz Feb 8, 2022 https://github.com/python/cpython/pull/31021/commits/89cbdeb866310b0eae1dcadb6be6fbd3cfd0e201
d4c487d _determine_typevar_substitution: Add support for unpacked tuples mrahtz Feb 8, 2022 https://github.com/python/cpython/pull/31021/commits/d4c487dcb1606f1ccd47399bedd74f08f3cb7c4d
ac4b5f9 Improve docstring for _BoundVarianceMixin mrahtz Feb 14, 2022 https://github.com/python/cpython/pull/31021/commits/ac4b5f988a63f83ab8ce46b3e68c681db0e096d1
fbf1a95 Remove arity checks for things involving a TypeVarTuple mrahtz Feb 15, 2022 https://github.com/python/cpython/pull/31021/commits/fbf1a95752fe8f914dfe8b91dfd5d5c42ef27f7d
5e0fcab Add basic __args__ tests mrahtz Feb 15, 2022 https://github.com/python/cpython/pull/31021/commits/5e0fcaba3c9203df8eb4d176cb717667b53a0594
6d86710 Merge branch 'main' into pep646-typing mrahtz Feb 15, 2022 https://github.com/python/cpython/pull/31021/commits/6d86710b4349a25f92057555c705ae0111ce5ad4
55f3a5d fix lint in NEWS file JelleZijlstra Feb 23, 2022 https://github.com/python/cpython/pull/31021/commits/55f3a5d169add78807dc5bd5a099b8648f8f1849
5212108 Make repr(A[]) == A[()] instead of A[] mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/5212108099b6573ce89be7b80ca80f8f8952f242
f2811a0 Add some extra repr tests mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/f2811a07d3b915f1ac8d6b0f952625045c83cec5
f5f4440 Remove debug print mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/f5f4440db92f77539401e65bf131d10208116bcd
45ff353 Make a couple of simplifications mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/45ff353901398eb8eeeb114f8b9bc418d27972b0
ba31d6e Optimize is_typevar_like mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/ba31d6ec98e0936d4714c01156e492576fefaf10
6789326 Refactor tests for variadic get_origin and get_origin into separate c… mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/67893260ad5f0e2d5dd04064709075a537e8d55c
caf435e Remove test for a parameterization that's actually invalid mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/caf435e4b1e16f9b8b11ebde6481bc96d3dac91b
9835938 Move some tests from GetUtilitiesTestCase to TypeVarTupleTests mrahtz Feb 26, 2022 https://github.com/python/cpython/pull/31021/commits/98359384d1d912240083ae9fe4c5935c15849577
ad5b090 Merge branch 'main' into pep646-typing JelleZijlstra Mar 4, 2022 https://github.com/python/cpython/pull/31021/commits/ad5b09075ab73ce42b58ebff3ff21d3d082cba89
2604094 Remove accidental cosmetic change mrahtz Mar 5, 2022 https://github.com/python/cpython/pull/31021/commits/26040943c110b34994b772517fcff72963a96294
75cd9d0 Add some type annotations mrahtz Mar 5, 2022 https://github.com/python/cpython/pull/31021/commits/75cd9d04aa1409b6b9a447349d2dc34505cd75bc
23b393b Fix various things in Generic.__class_getitem__ mrahtz Mar 5, 2022 https://github.com/python/cpython/pull/31021/commits/23b393bea7e3c317e15a66de4f08ef879984dbd7
f094905 Split up _determine_typevar_substitution mrahtz Mar 5, 2022 https://github.com/python/cpython/pull/31021/commits/f09490592544fe64f8b85e470f020c2232179513
b9b1c80 Cut out variadic type substitution logic mrahtz Mar 5, 2022 https://github.com/python/cpython/pull/31021/commits/b9b1c80913f1fbc21ea60257bed6562e18c49802
Clear filters https://github.com/python/cpython/pull/31021/files
Please reload this pagehttps://github.com/python/cpython/pull/31021/files
Please reload this pagehttps://github.com/python/cpython/pull/31021/files
test_typing.py https://github.com/python/cpython/pull/31021/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
typing.py https://github.com/python/cpython/pull/31021/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
2022-01-30-22-05-53.bpo-43224.E-eT22.rst https://github.com/python/cpython/pull/31021/files#diff-10f4866ee81ccbbeda7ac437c0223e09ee252cef9d8f8a6df38a7007067d7146
Please reload this pagehttps://github.com/python/cpython/pull/31021/files
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.