René's URL Explorer Experiment


Title: Runtime changes for PEP 718 -- generic function subscription by gvanrossum · Pull Request #156201 · python/cpython · GitHub

Open Graph Title: Runtime changes for PEP 718 -- generic function subscription by gvanrossum · Pull Request #156201 · python/cpython

X Title: Runtime changes for PEP 718 -- generic function subscription by gvanrossum · Pull Request #156201 · python/cpython

Description: This is a vibe-coded port to main (3.16) of @Gobot1234's original 3.13 patch. I haven't reviewed it closely, but it seems to work. One of us will do the work when the PEP is accepted. Note that at runtime, function subscription acts more like generic builtins (e.g. list[str]) than like classes. Type checkers will be the ultimate arbiter. Triagers: if this needs an issue, let me know and I'll gladly add it.

Open Graph Description: This is a vibe-coded port to main (3.16) of @Gobot1234's original 3.13 patch. I haven't reviewed it closely, but it seems to work. One of us will do the work when the PEP is accepted. Note ...

X Description: This is a vibe-coded port to main (3.16) of @Gobot1234's original 3.13 patch. I haven't reviewed it closely, but it seems to work. One of us will do the work when the PEP is accepte...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4ce7c593-213b-6761-a530-79bb10cb7219
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id873C:5875E:22CBCA7:2F5108A:6B0029BB
html-safe-nonce763101c856c6d5e99f65e48fee798ce5755019fc621db3e8697c65d7d8491f0e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzNDOjU4NzVFOjIyQ0JDQTc6MkY1MTA4QTo2QjAwMjlCQiIsInZpc2l0b3JfaWQiOiIyMjI2NzUyMTgwMzkwNDcyMTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3b1045300995ee7d0c07bd12b871226f5ff50eacda3f24df304e40148790bede
hovercard-subject-tagpull_request:4333900216
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/156201/files
twitter:imagehttps://avatars.githubusercontent.com/u/2894642?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2894642?s=400&v=4
og:image:altThis is a vibe-coded port to main (3.16) of @Gobot1234's original 3.13 patch. I haven't reviewed it closely, but it seems to work. One of us will do the work when the PEP is accepted. Note ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/156201/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156201%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156201%2Ffiles
Sign uphttps://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/156201/files
Reloadhttps://github.com/python/cpython/pull/156201/files
Reloadhttps://github.com/python/cpython/pull/156201/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
gvanrossum:pep718https://github.com/gvanrossum/cpython/tree/pep718
Conversation 1 https://github.com/python/cpython/pull/156201
Commits 1 https://github.com/python/cpython/pull/156201/commits
Checks 49 https://github.com/python/cpython/pull/156201/checks
Files changed https://github.com/python/cpython/pull/156201/files
Please reload this pagehttps://github.com/python/cpython/pull/156201/files
Runtime changes for PEP 718 -- generic function subscription https://github.com/python/cpython/pull/156201/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/156201/files
a373a4f Ported @Gobot1234's function-subscript branch from 3.13a0 to main (3.16) gvanrossum Aug 21, 2026 https://github.com/python/cpython/pull/156201/commits/a373a4f003a5c4873bdc76587a6122795acf9c86
Clear filters https://github.com/python/cpython/pull/156201/files
Please reload this pagehttps://github.com/python/cpython/pull/156201/files
Please reload this pagehttps://github.com/python/cpython/pull/156201/files
test_genericalias.py https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
classobject.c https://github.com/python/cpython/pull/156201/files#diff-d36823aa86f63074d7ae49b390602ea3840cabe4b54484c42aab8ea6b04a1479
funcobject.c https://github.com/python/cpython/pull/156201/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
genericaliasobject.c https://github.com/python/cpython/pull/156201/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
methodobject.c https://github.com/python/cpython/pull/156201/files#diff-3bfea3c07bc06c9c596462ed52d89c982e9145602fcabe4536a3e3e0f39f1354
Lib/test/test_genericalias.pyhttps://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
View file https://github.com/python/cpython/blob/a373a4f003a5c4873bdc76587a6122795acf9c86/Lib/test/test_genericalias.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/156201/{{ revealButtonHref }}
https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
gvanrossumhttps://github.com/gvanrossum
Aug 21, 2026https://github.com/python/cpython/pull/156201/files#r3832347959
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156201/files
https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
https://github.com/python/cpython/pull/156201/files#diff-8e29b27c5ead543d31b10d6fa2991d5640e6d60c36ac7b7aa873712c4fe2f944
Objects/classobject.chttps://github.com/python/cpython/pull/156201/files#diff-d36823aa86f63074d7ae49b390602ea3840cabe4b54484c42aab8ea6b04a1479
View file https://github.com/python/cpython/blob/a373a4f003a5c4873bdc76587a6122795acf9c86/Objects/classobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/156201/{{ revealButtonHref }}
https://github.com/python/cpython/pull/156201/files#diff-d36823aa86f63074d7ae49b390602ea3840cabe4b54484c42aab8ea6b04a1479
https://github.com/python/cpython/pull/156201/files#diff-d36823aa86f63074d7ae49b390602ea3840cabe4b54484c42aab8ea6b04a1479
Objects/funcobject.chttps://github.com/python/cpython/pull/156201/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
View file https://github.com/python/cpython/blob/a373a4f003a5c4873bdc76587a6122795acf9c86/Objects/funcobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/156201/{{ revealButtonHref }}
https://github.com/python/cpython/pull/156201/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
https://github.com/python/cpython/pull/156201/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
https://github.com/python/cpython/pull/156201/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
https://github.com/python/cpython/pull/156201/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
Objects/genericaliasobject.chttps://github.com/python/cpython/pull/156201/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
View file https://github.com/python/cpython/blob/a373a4f003a5c4873bdc76587a6122795acf9c86/Objects/genericaliasobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/156201/{{ revealButtonHref }}
https://github.com/python/cpython/pull/156201/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com/python/cpython/pull/156201/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com/python/cpython/pull/156201/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
https://github.com/python/cpython/pull/156201/files#diff-828d12085a29364c67442b193bb62906e3469fbe21367499fd62817f98190014
Objects/methodobject.chttps://github.com/python/cpython/pull/156201/files#diff-3bfea3c07bc06c9c596462ed52d89c982e9145602fcabe4536a3e3e0f39f1354
View file https://github.com/python/cpython/blob/a373a4f003a5c4873bdc76587a6122795acf9c86/Objects/methodobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/156201/{{ revealButtonHref }}
https://github.com/python/cpython/pull/156201/files#diff-3bfea3c07bc06c9c596462ed52d89c982e9145602fcabe4536a3e3e0f39f1354
https://github.com/python/cpython/pull/156201/files#diff-3bfea3c07bc06c9c596462ed52d89c982e9145602fcabe4536a3e3e0f39f1354
https://github.com/python/cpython/pull/156201/files#diff-3bfea3c07bc06c9c596462ed52d89c982e9145602fcabe4536a3e3e0f39f1354
https://github.com/python/cpython/pull/156201/files#diff-3bfea3c07bc06c9c596462ed52d89c982e9145602fcabe4536a3e3e0f39f1354
Please reload this pagehttps://github.com/python/cpython/pull/156201/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.