René's URL Explorer Experiment


Title: GH-87849: Simplify stack effect of SEND and specialize it for generators. by markshannon · Pull Request #101788 · python/cpython · GitHub

Open Graph Title: GH-87849: Simplify stack effect of SEND and specialize it for generators. by markshannon · Pull Request #101788 · python/cpython

X Title: GH-87849: Simplify stack effect of SEND and specialize it for generators. by markshannon · Pull Request #101788 · python/cpython

Description: This avoids most the overhead when transferring control from caller to the generator or coroutine in a yield from or await. The benchmarks results are in the noise, except for the "generators" benc...

Open Graph Description: This avoids most the overhead when transferring control from caller to the generator or coroutine in a yield from or await. The benchmarks results are in the noise, except for the "generators&...

X Description: This avoids most the overhead when transferring control from caller to the generator or coroutine in a yield from or await. The benchmarks results are in the noise, except for the "generat...

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

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:b804e49c-a1b2-92e2-d99f-ecaa4db07f55
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE2E:345820:10ACA22:16F43BB:6969FB3A
html-safe-noncea61fd7867b8e7b6ae2361e547b65881ae1e73e6ad3404c20bd8a4b75ce5538d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTJFOjM0NTgyMDoxMEFDQTIyOjE2RjQzQkI6Njk2OUZCM0EiLCJ2aXNpdG9yX2lkIjoiODUzMDE2MzczMjkzMzM3NjgyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6a2804ced0f55f221ac3e6c23e617754ea21e36aee02976f1cd453984c261fe4
hovercard-subject-tagpull_request:1236978128
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/101788/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/69c7ca51070c51839dd1dfd92b547cb8e55e9b8c12b7ed1f47d56032c1deaa6e/python/cpython/pull/101788
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69c7ca51070c51839dd1dfd92b547cb8e55e9b8c12b7ed1f47d56032c1deaa6e/python/cpython/pull/101788
og:image:altThis avoids most the overhead when transferring control from caller to the generator or coroutine in a yield from or await. The benchmarks results are in the noise, except for the "generators&...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/101788#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101788
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%2F101788
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/101788
Reloadhttps://github.com/python/cpython/pull/101788
Reloadhttps://github.com/python/cpython/pull/101788
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/101788
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/101788
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/101788#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialized-sendhttps://github.com/faster-cpython/cpython/tree/specialized-send
GH-87849: Simplify stack effect of SEND and specialize it for generators. https://github.com/python/cpython/pull/101788#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialized-sendhttps://github.com/faster-cpython/cpython/tree/specialized-send
Conversation 2 https://github.com/python/cpython/pull/101788
Commits 6 https://github.com/python/cpython/pull/101788/commits
Checks 0 https://github.com/python/cpython/pull/101788/checks
Files changed https://github.com/python/cpython/pull/101788/files
Please reload this pagehttps://github.com/python/cpython/pull/101788
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Feb 10, 2023https://github.com/python/cpython/pull/101788#issue-1580000022
Please reload this pagehttps://github.com/python/cpython/pull/101788
https://github.com/faster-cpython/benchmarking-public/blob/main/results/bm-20230210-3.12.0a5%2B-685d559/bm-20230210-linux-x86_64-faster%252dcpython-specialized_send-3.12.0a5%2B-685d559-vs-base.mdhttps://github.com/faster-cpython/benchmarking-public/blob/main/results/bm-20230210-3.12.0a5%2B-685d559/bm-20230210-linux-x86_64-faster%252dcpython-specialized_send-3.12.0a5%2B-685d559-vs-base.md
Handle generator (and coroutine) state in the bytecode. #87849https://github.com/python/cpython/issues/87849
Please reload this pagehttps://github.com/python/cpython/pull/101788
markshannonhttps://github.com/markshannon
February 10, 2023 11:41https://github.com/python/cpython/pull/101788#commits-pushed-f2dbcf9
https://github.com/markshannon
Leave receiver on stack when exiting SEND loop.https://github.com/python/cpython/pull/101788/commits/f2dbcf9528e83ef322083ed03b01b95ec75b1fa9
f2dbcf9https://github.com/python/cpython/pull/101788/commits/f2dbcf9528e83ef322083ed03b01b95ec75b1fa9
https://github.com/markshannon
Specialize SEND for generators and coroutines.https://github.com/python/cpython/pull/101788/commits/685d559bfc6efb9e360fffdf7b4775855c6fc95e
685d559https://github.com/python/cpython/pull/101788/commits/685d559bfc6efb9e360fffdf7b4775855c6fc95e
https://github.com/markshannon
Fix stats gatheringhttps://github.com/python/cpython/pull/101788/commits/a2c1606d78ec99523e1ad7fb09c53368fa4c40a6
a2c1606https://github.com/python/cpython/pull/101788/commits/a2c1606d78ec99523e1ad7fb09c53368fa4c40a6
https://github.com/markshannon
Add newshttps://github.com/python/cpython/pull/101788/commits/eaa4be163933078087eff9280ef9b98e72e240c1
eaa4be1https://github.com/python/cpython/pull/101788/commits/eaa4be163933078087eff9280ef9b98e72e240c1
https://github.com/markshannon
Update magic number.https://github.com/python/cpython/pull/101788/commits/77dd329c9454ac35e4c3f09f16da7907f03814da
77dd329https://github.com/python/cpython/pull/101788/commits/77dd329c9454ac35e4c3f09f16da7907f03814da
https://github.com/markshannon
markshannonhttps://github.com/markshannon
iritkatrielhttps://github.com/iritkatriel
code ownerhttps://github.com/python/cpython/blob/826bf0e6957fd0addc321d1baee1fa846e9457eb/.github/CODEOWNERS#L27
February 10, 2023 16:32https://github.com/python/cpython/pull/101788#event-8491700022
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 10, 2023https://github.com/python/cpython/pull/101788#event-8491700329
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 10, 2023 https://github.com/python/cpython/pull/101788#ref-issue-1199055668
Handle generator (and coroutine) state in the bytecode. #87849 https://github.com/python/cpython/issues/87849
https://github.com/markshannon
Fix formatting.https://github.com/python/cpython/pull/101788/commits/62008eafc6a4d27e4942223ab5adddb1f4b72b83
62008eahttps://github.com/python/cpython/pull/101788/commits/62008eafc6a4d27e4942223ab5adddb1f4b72b83
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Feb 13, 2023 https://github.com/python/cpython/pull/101788#pullrequestreview-1295214689
View reviewed changes https://github.com/python/cpython/pull/101788/files/62008eafc6a4d27e4942223ab5adddb1f4b72b83
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 13, 2023https://github.com/python/cpython/pull/101788#event-8501996503
https://github.com/markshannon
markshannonhttps://github.com/markshannon
160f2fehttps://github.com/python/cpython/commit/160f2fe2b90ed5ec7838cb4141dd35768422891f
Feb 13, 2023https://github.com/python/cpython/pull/101788#event-8503283012
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
Feb 13, 2023https://github.com/python/cpython/pull/101788#event-8503283631
carljmhttps://github.com/carljm
Feb 13, 2023 https://github.com/python/cpython/pull/101788#ref-commit-ae0bd02
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/ae0bd024a5a9ca4761ab396621a1b7b6c780cf20
ae0bd02https://github.com/carljm/cpython/commit/ae0bd024a5a9ca4761ab396621a1b7b6c780cf20
pythongh-101810https://github.com/python/cpython/issues/101810
pythonGH-101811https://github.com/python/cpython/pull/101811
pythongh-92547https://github.com/python/cpython/issues/92547
python#101873https://github.com/python/cpython/pull/101873
pythonGH-100987https://github.com/python/cpython/issues/100987
pythonGH-100988https://github.com/python/cpython/pull/100988
pythonGH-87849https://github.com/python/cpython/issues/87849
pythonGH-101788https://github.com/python/cpython/pull/101788
python#101861https://github.com/python/cpython/pull/101861
pythongh-101845https://github.com/python/cpython/issues/101845
pythonGH-101846https://github.com/python/cpython/pull/101846
pythongh-89792https://github.com/python/cpython/issues/89792
python#101841https://github.com/python/cpython/pull/101841
pythongh-85984https://github.com/python/cpython/issues/85984
python#101831https://github.com/python/cpython/pull/101831
pythongh-89792https://github.com/python/cpython/issues/89792
python#101837https://github.com/python/cpython/pull/101837
python#101823https://github.com/python/cpython/pull/101823
pythonGH-101797https://github.com/python/cpython/issues/101797
python#101798https://github.com/python/cpython/pull/101798
pythongh-101390https://github.com/python/cpython/issues/101390
pythonGH-101391https://github.com/python/cpython/pull/101391
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Feb 14, 2023https://github.com/python/cpython/pull/101788#issuecomment-1429827596
Please reload this pagehttps://github.com/python/cpython/pull/101788
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Feb 14, 2023https://github.com/python/cpython/pull/101788#issuecomment-1429979933
#101908https://github.com/python/cpython/pull/101908
Please reload this pagehttps://github.com/python/cpython/pull/101788
https://github.com/markshannon
markshannonhttps://github.com/markshannon
September 26, 2023 12:50https://github.com/python/cpython/pull/101788#event-10474796583
https://github.com/corona10
corona10https://github.com/corona10
Oct 20, 2025 https://github.com/python/cpython/pull/101788#ref-pullrequest-3532676102
gh-140205: Add a description of SEND_GEN to the dis module. #140372 https://github.com/python/cpython/pull/140372
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%2F101788
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/101788/files/62008eafc6a4d27e4942223ab5adddb1f4b72b83
Please reload this pagehttps://github.com/python/cpython/pull/101788
https://github.com/markshannon
https://github.com/erlend-aasland
https://github.com/iritkatriel
https://github.com/bedevere-bot
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.