René's URL Explorer Experiment


Title: bpo-43683: Handle generator entry in bytecode by markshannon · Pull Request #25138 · python/cpython · GitHub

Open Graph Title: bpo-43683: Handle generator entry in bytecode by markshannon · Pull Request #25138 · python/cpython

X Title: bpo-43683: Handle generator entry in bytecode by markshannon · Pull Request #25138 · python/cpython

Description: Adds GEN_START bytecode to handle checking for None when starting a generator or coroutine. This means that: send() doesn't need to check the state of the generator. Should speed up iteration as c...

Open Graph Description: Adds GEN_START bytecode to handle checking for None when starting a generator or coroutine. This means that: send() doesn't need to check the state of the generator. Should speed up iteration ...

X Description: Adds GEN_START bytecode to handle checking for None when starting a generator or coroutine. This means that: send() doesn't need to check the state of the generator. Should speed up iterat...

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

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:09716598-7402-8757-3f72-d2eef843322e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E2E:1E4FEF:65BACF:82BD51:696AE936
html-safe-nonced9200f47779f133602f15fc7c565d1321c604d789a79fc58a68e4a4f11dbfbc7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTJFOjFFNEZFRjo2NUJBQ0Y6ODJCRDUxOjY5NkFFOTM2IiwidmlzaXRvcl9pZCI6IjM3NjI1MDg3ODYwNjA0MjE0MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca2cce72c8197277a401e7161447658caf3bbbc3db8f4aa31fd5aefd183ed54f6
hovercard-subject-tagpull_request:607483804
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/25138/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5c441f2f2c31d18b94b414af131799bf5bfdb5fe68641984386aa809d3c27eaa/python/cpython/pull/25138
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c441f2f2c31d18b94b414af131799bf5bfdb5fe68641984386aa809d3c27eaa/python/cpython/pull/25138
og:image:altAdds GEN_START bytecode to handle checking for None when starting a generator or coroutine. This means that: send() doesn't need to check the state of the generator. Should speed up iteration ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
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-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/25138#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25138
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%2F25138
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/25138
Reloadhttps://github.com/python/cpython/pull/25138
Reloadhttps://github.com/python/cpython/pull/25138
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/25138
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/25138
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/25138#issue-comment-box
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
faster-cpython:handle-generator-entry-in-bytecodehttps://github.com/faster-cpython/cpython/tree/handle-generator-entry-in-bytecode
bpo-43683: Handle generator entry in bytecode https://github.com/python/cpython/pull/25138#top
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
faster-cpython:handle-generator-entry-in-bytecodehttps://github.com/faster-cpython/cpython/tree/handle-generator-entry-in-bytecode
Conversation 7 https://github.com/python/cpython/pull/25138
Commits 2 https://github.com/python/cpython/pull/25138/commits
Checks 0 https://github.com/python/cpython/pull/25138/checks
Files changed https://github.com/python/cpython/pull/25138/files
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 1, 2021https://github.com/python/cpython/pull/25138#issue-848565556
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://bugs.python.org/issue43683https://bugs.python.org/issue43683
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://github.com/markshannon
markshannonhttps://github.com/markshannon
1st1https://github.com/1st1
code ownerhttps://github.com/python/cpython/blob/fcb55c0037baab6f98f91ee38ce84b6f874f034a/.github/CODEOWNERS#L12
April 1, 2021 15:23https://github.com/python/cpython/pull/25138#event-4541977070
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
Apr 1, 2021https://github.com/python/cpython/pull/25138#event-4541977287
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
Apr 1, 2021https://github.com/python/cpython/pull/25138#event-4541977375
https://github.com/markshannon
markshannonhttps://github.com/markshannon
force-pushedhttps://github.com/python/cpython/compare/4dff1d0947bbd2862075dc11bcb1cbdc750c9368..46c71f5a5826eca258129d49f68cb528b7731351
4dff1d0https://github.com/python/cpython/commit/4dff1d0947bbd2862075dc11bcb1cbdc750c9368
46c71f5https://github.com/python/cpython/commit/46c71f5a5826eca258129d49f68cb528b7731351
Compare https://github.com/python/cpython/compare/4dff1d0947bbd2862075dc11bcb1cbdc750c9368..46c71f5a5826eca258129d49f68cb528b7731351
April 2, 2021 10:42https://github.com/python/cpython/pull/25138#event-4545288396
https://github.com/willingc
willingchttps://github.com/willingc
Apr 3, 2021 https://github.com/python/cpython/pull/25138#pullrequestreview-627483807
View reviewed changes https://github.com/python/cpython/pull/25138/files
willingchttps://github.com/willingc
https://github.com/python/cpython/pull/25138#pullrequestreview-627483807
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/25138
Misc/NEWS.d/next/Core and Builtins/2021-04-01-12-30-30.bpo-43683.AjxOx2.rsthttps://github.com/python/cpython/pull/25138/files#diff-72a3ff08d3cbf521cd6e696b160fbcf354c3186c835fff8448cc63a0a9997153
Please reload this pagehttps://github.com/python/cpython/pull/25138
Misc/NEWS.d/next/Core and Builtins/2021-04-01-12-30-30.bpo-43683.AjxOx2.rsthttps://github.com/python/cpython/pull/25138/files#diff-72a3ff08d3cbf521cd6e696b160fbcf354c3186c835fff8448cc63a0a9997153
Please reload this pagehttps://github.com/python/cpython/pull/25138
markshannonhttps://github.com/markshannon
April 6, 2021 10:52https://github.com/python/cpython/pull/25138#commits-pushed-3a41a50
https://github.com/markshannon
Handle check for sending None to starting generator and coroutine int…https://github.com/python/cpython/pull/25138/commits/3a41a50f00173827053cd4b1ae13c281b7e35c87
3a41a50https://github.com/python/cpython/pull/25138/commits/3a41a50f00173827053cd4b1ae13c281b7e35c87
https://github.com/markshannon
Improve wording in NEWS item.https://github.com/python/cpython/pull/25138/commits/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
1a29ec3https://github.com/python/cpython/pull/25138/commits/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
https://github.com/markshannon
markshannonhttps://github.com/markshannon
force-pushedhttps://github.com/python/cpython/compare/46c71f5a5826eca258129d49f68cb528b7731351..1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
46c71f5https://github.com/python/cpython/commit/46c71f5a5826eca258129d49f68cb528b7731351
1a29ec3https://github.com/python/cpython/commit/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
Compare https://github.com/python/cpython/compare/46c71f5a5826eca258129d49f68cb528b7731351..1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
April 6, 2021 09:56https://github.com/python/cpython/pull/25138#event-4555796589
https://github.com/markshannon
markshannonhttps://github.com/markshannon
b37181ehttps://github.com/python/cpython/commit/b37181e69209746adc2119c471599a1ea5faa6c8
Apr 6, 2021https://github.com/python/cpython/pull/25138#event-4556040012
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
Apr 6, 2021https://github.com/python/cpython/pull/25138#event-4556040172
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 6, 2021 https://github.com/python/cpython/pull/25138#ref-issue-848587707
Add bytecode to handle gen.send() corner cases faster-cpython/ideas#38 https://github.com/faster-cpython/ideas/issues/38
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Apr 6, 2021 https://github.com/python/cpython/pull/25138#pullrequestreview-629166498
View reviewed changes https://github.com/python/cpython/pull/25138/files/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
Lib/importlib/_bootstrap_external.pyhttps://github.com/python/cpython/pull/25138/files/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Apr 6, 2021 https://github.com/python/cpython/pull/25138#pullrequestreview-629177542
View reviewed changes https://github.com/python/cpython/pull/25138/files/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
Python/compile.chttps://github.com/python/cpython/pull/25138/files/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
gvanrossumhttps://github.com/gvanrossum
Apr 6, 2021https://github.com/python/cpython/pull/25138#discussion_r608003814
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/25138
markshannonhttps://github.com/markshannon
Apr 6, 2021https://github.com/python/cpython/pull/25138#discussion_r608036045
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://github.com/python
pythonhttps://github.com/python
fochoaohttps://github.com/fochoao
Apr 6, 2021https://github.com/python/cpython/pull/25138#event-4558087469
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 6, 2021https://github.com/python/cpython/pull/25138#issuecomment-814294462
#25224https://github.com/python/cpython/pull/25224
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://github.com/markshannon
markshannonhttps://github.com/markshannon
April 14, 2021 13:27https://github.com/python/cpython/pull/25138#event-4593633307
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Sep 13, 2022 https://github.com/python/cpython/pull/25138#ref-issue-1199055668
Handle generator (and coroutine) state in the bytecode. #87849 https://github.com/python/cpython/issues/87849
https://github.com/tekknolagi
tekknolagihttps://github.com/tekknolagi
Jun 12, 2023 https://github.com/python/cpython/pull/25138#ref-issue-1753554770
Implement PEP 479 in bytecode tekknolagi/skybison#507 https://github.com/tekknolagi/skybison/issues/507
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%2F25138
https://github.com/willingc
willingc https://github.com/willingc
https://github.com/python/cpython/pull/25138/files/46c71f5a5826eca258129d49f68cb528b7731351
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/25138/files/1a29ec394379a27d1f4fd8c6f7906e4f9afad7fa
https://github.com/1st1
1st1 https://github.com/1st1
Please reload this pagehttps://github.com/python/cpython/pull/25138
https://github.com/markshannon
https://github.com/willingc
https://github.com/gvanrossum
https://github.com/the-knights-who-say-ni
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.