René's URL Explorer Experiment


Title: GH-143493: Conform to spec for generator expressions while supporting virtual iterators by markshannon · Pull Request #143569 · python/cpython · GitHub

Open Graph Title: GH-143493: Conform to spec for generator expressions while supporting virtual iterators by markshannon · Pull Request #143569 · python/cpython

X Title: GH-143493: Conform to spec for generator expressions while supporting virtual iterators by markshannon · Pull Request #143569 · python/cpython

Description: Moves the GET_ITER instruction into the generator function preamble. This means the the iterable is converted into an iterator during generator creation, as documented, but keeps it in the same cod...

Open Graph Description: Moves the GET_ITER instruction into the generator function preamble. This means the the iterable is converted into an iterator during generator creation, as documented, but keeps it in the same cod...

X Description: Moves the GET_ITER instruction into the generator function preamble. This means the the iterable is converted into an iterator during generator creation, as documented, but keeps it in the same cod...

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

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:9bc7f816-2440-6152-88a4-e7619f02be9d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3EE:311995:FC481D:147FCE7:696B0C28
html-safe-noncebf8214b95817148df5b7167abffa9354487289dbf0c594e33b775105bde91c9b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0VFOjMxMTk5NTpGQzQ4MUQ6MTQ3RkNFNzo2OTZCMEMyOCIsInZpc2l0b3JfaWQiOiI1NDg5NDYzNzg5NDQ4MDA2Njk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf9fc557249d756870bf3db266953dde6548dad35a2a536c7718c943b6f9de9a1
hovercard-subject-tagpull_request:3156429230
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/143569/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f87269b75ea1edc65099de95bc8d438adaaaf65269522b262000dc5017e9881b/python/cpython/pull/143569
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f87269b75ea1edc65099de95bc8d438adaaaf65269522b262000dc5017e9881b/python/cpython/pull/143569
og:image:altMoves the GET_ITER instruction into the generator function preamble. This means the the iterable is converted into an iterator during generator creation, as documented, but keeps it in the same cod...
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/143569#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143569
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%2F143569
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/143569
Reloadhttps://github.com/python/cpython/pull/143569
Reloadhttps://github.com/python/cpython/pull/143569
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/143569
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/143569
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/143569#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
markshannon:genexpr-conform-to-spec-fasthttps://github.com/markshannon/cpython/tree/genexpr-conform-to-spec-fast
GH-143493: Conform to spec for generator expressions while supporting virtual iterators https://github.com/python/cpython/pull/143569#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
markshannon:genexpr-conform-to-spec-fasthttps://github.com/markshannon/cpython/tree/genexpr-conform-to-spec-fast
Conversation 9 https://github.com/python/cpython/pull/143569
Commits 3 https://github.com/python/cpython/pull/143569/commits
Checks 69 https://github.com/python/cpython/pull/143569/checks
Files changed https://github.com/python/cpython/pull/143569/files
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 8, 2026https://github.com/python/cpython/pull/143569#issue-3793213472
Please reload this pagehttps://github.com/python/cpython/pull/143569
Behavior of generator expressions doesn't match the docs when passed a non-iterable #143493https://github.com/python/cpython/issues/143493
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/markshannon
Conform to spec for generator expressions while supporting virtual it…https://github.com/python/cpython/pull/143569/commits/4deca7653e11c621d9444378e009a6fda9e3974c
4deca76https://github.com/python/cpython/pull/143569/commits/4deca7653e11c621d9444378e009a6fda9e3974c
https://github.com/markshannon
markshannonhttps://github.com/markshannon
iritkatrielhttps://github.com/iritkatriel
code ownerhttps://github.com/python/cpython/blob/8cf5c4d89a526e5370f1d094885021b4792d4fff/.github/CODEOWNERS#L224
January 8, 2026 14:53https://github.com/python/cpython/pull/143569#event-21925246523
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 8, 2026 https://github.com/python/cpython/pull/143569#ref-issue-3786301522
Behavior of generator expressions doesn't match the docs when passed a non-iterable #143493 https://github.com/python/cpython/issues/143493
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 8, 2026https://github.com/python/cpython/pull/143569#event-21925248828
https://github.com/markshannon
Add newshttps://github.com/python/cpython/pull/143569/commits/0d9ded357e87bad1832acf768fae272be1fc3897
0d9ded3https://github.com/python/cpython/pull/143569/commits/0d9ded357e87bad1832acf768fae272be1fc3897
https://github.com/markshannon
markshannonhttps://github.com/markshannon
serhiy-storchakahttps://github.com/serhiy-storchaka
January 8, 2026 15:00https://github.com/python/cpython/pull/143569#event-21925424861
https://github.com/J2085isa
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143569
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/J2085isa
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143569
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 9, 2026 https://github.com/python/cpython/pull/143569#pullrequestreview-3643509069
View reviewed changes https://github.com/python/cpython/pull/143569/files/0d9ded357e87bad1832acf768fae272be1fc3897
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/143569#pullrequestreview-3643509069
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 9, 2026https://github.com/python/cpython/pull/143569#issuecomment-3729317350
Please reload this pagehttps://github.com/python/cpython/pull/143569
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 9, 2026https://github.com/python/cpython/pull/143569#issuecomment-3729326096
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Jan 15, 2026 https://github.com/python/cpython/pull/143569#pullrequestreview-3663073389
View reviewed changes https://github.com/python/cpython/pull/143569/files/0d9ded357e87bad1832acf768fae272be1fc3897
DinoVhttps://github.com/DinoV
https://github.com/python/cpython/pull/143569#pullrequestreview-3663073389
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/143569
Python/codegen.chttps://github.com/python/cpython/pull/143569/files/0d9ded357e87bad1832acf768fae272be1fc3897#diff-6d58b0ddc066ad12ebc378b62c4189335bd57c83aece11072c76fd86a78a1a4a
DinoVhttps://github.com/DinoV
Jan 14, 2026https://github.com/python/cpython/pull/143569#discussion_r2692259239
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/143569
markshannonhttps://github.com/markshannon
Jan 15, 2026https://github.com/python/cpython/pull/143569#discussion_r2694421458
Please reload this pagehttps://github.com/python/cpython/pull/143569
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
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
Jan 15, 2026https://github.com/python/cpython/pull/143569#event-22057770575
https://github.com/python
pythonhttps://github.com/python
J2085isahttps://github.com/J2085isa
Jan 15, 2026https://github.com/python/cpython/pull/143569#event-22070076211
https://github.com/markshannon
Rename enumhttps://github.com/python/cpython/pull/143569/commits/f374397a63d038a56c9c81e7cc4e588182bb0061
f374397https://github.com/python/cpython/pull/143569/commits/f374397a63d038a56c9c81e7cc4e588182bb0061
https://github.com/markshannon
markshannonhttps://github.com/markshannon
ae53da5https://github.com/python/cpython/commit/ae53da57586d710504ad34c3d48d6e4303b7619a
Jan 16, 2026https://github.com/python/cpython/pull/143569#event-22090572858
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 16, 2026https://github.com/python/cpython/pull/143569#event-22090573966
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 16, 2026https://github.com/python/cpython/pull/143569#issuecomment-3759133974
ae53da5https://github.com/python/cpython/commit/ae53da57586d710504ad34c3d48d6e4303b7619a
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/725/builds/12565https://buildbot.python.org/#/builders/725/builds/12565
ae53da5https://github.com/python/cpython/commit/ae53da57586d710504ad34c3d48d6e4303b7619a
https://buildbot.python.org/#/builders/725/builds/12565https://buildbot.python.org/#/builders/725/builds/12565
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Jan 16, 2026 https://github.com/python/cpython/pull/143569#ref-pullrequest-3823176246
gh-142913: Update generated code that conflicted with other landed change #143932 https://github.com/python/cpython/pull/143932
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%2F143569
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/143569/files/0d9ded357e87bad1832acf768fae272be1fc3897
https://github.com/DinoV
DinoV https://github.com/DinoV
https://github.com/python/cpython/pull/143569/files/0d9ded357e87bad1832acf768fae272be1fc3897
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/J2085isa
J2085isa https://github.com/J2085isa
https://github.com/python/cpython/pull/143569/files/0d9ded357e87bad1832acf768fae272be1fc3897
Please reload this pagehttps://github.com/python/cpython/pull/143569
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/DinoV
https://github.com/serhiy-storchaka
https://github.com/J2085isa
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.