René's URL Explorer Experiment


Title: gh-128078: Simplify logic in `_PyGen_SetStopIterationValue` (follow-up to gh-128780) by picnixz · Pull Request #128287 · python/cpython · GitHub

Open Graph Title: gh-128078: Simplify logic in `_PyGen_SetStopIterationValue` (follow-up to gh-128780) by picnixz · Pull Request #128287 · python/cpython

X Title: gh-128078: Simplify logic in `_PyGen_SetStopIterationValue` (follow-up to gh-128780) by picnixz · Pull Request #128287 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Some calls have a StopAsyncIteration exception set at this point but we should ignore them since this function is meant to create a StopIteration instead (or replace an existing StopAsyncIteration)...

X Description: Some calls have a StopAsyncIteration exception set at this point but we should ignore them since this function is meant to create a StopIteration instead (or replace an existing StopAsyncIteration)...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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/_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:b12819e1-80c3-b24d-e0cf-22d198704039
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD1EC:23E430:EB8018:1301AC8:6B06495B
html-safe-nonce59d46552112707d41a44df3bce2b83c384ff33cfab6dafed753ce590f3120c0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUVDOjIzRTQzMDpFQjgwMTg6MTMwMUFDODo2QjA2NDk1QiIsInZpc2l0b3JfaWQiOiIyOTU2MjU0MjYxMTA3MTE2Mzc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac12c6dcc739258d61b37730004d201c4249b7f519c6a0eb1ced23697f6c6ff988
hovercard-subject-tagpull_request:2253369804
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/128287/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6ff5fd66488a7f1aef89295e90639830697a6bf94f2d2af886e524683774f02e/python/cpython/pull/128287
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ff5fd66488a7f1aef89295e90639830697a6bf94f2d2af886e524683774f02e/python/cpython/pull/128287
og:image:altSome calls have a StopAsyncIteration exception set at this point but we should ignore them since this function is meant to create a StopIteration instead (or replace an existing StopAsyncIteration)...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
turbo-cache-controlno-cache
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
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/128287#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128287
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%2F128287
Sign uphttps://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/128287
Reloadhttps://github.com/python/cpython/pull/128287
Reloadhttps://github.com/python/cpython/pull/128287
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
https://github.com/python/cpython
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/core/async-gens-except-128078https://github.com/picnixz/cpython/tree/fix/core/async-gens-except-128078
Conversationhttps://github.com/python/cpython/pull/128287
Commits8 (8)https://github.com/python/cpython/pull/128287/commits
Checkshttps://github.com/python/cpython/pull/128287/checks
Files changedhttps://github.com/python/cpython/pull/128287/files
gh-128078: Simplify logic in _PyGen_SetStopIterationValue (follow-up to gh-128780)https://github.com/python/cpython/pull/128287#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/core/async-gens-except-128078https://github.com/picnixz/cpython/tree/fix/core/async-gens-except-128078
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Dec 27, 2024https://github.com/python/cpython/pull/128287#issue-2760847204
Please reload this pagehttps://github.com/python/cpython/pull/128287
#128780https://github.com/python/cpython/pull/128780
Async generator/anext with default-tuple-value results in SystemError: returned with exception set #128078https://github.com/python/cpython/issues/128078
Please reload this pagehttps://github.com/python/cpython/pull/128287
picnixzhttps://github.com/picnixz
December 27, 2024 13:47https://github.com/python/cpython/pull/128287#commits-pushed-8a8f20f
https://github.com/picnixz
clear PyExc_StopAsyncIteration exceptions in `_PyGen_SetStopIteration…https://github.com/python/cpython/pull/128287/commits/8a8f20ff8cea201c9dcaf6967c51b2b210533723
8a8f20fhttps://github.com/python/cpython/pull/128287/commits/8a8f20ff8cea201c9dcaf6967c51b2b210533723
https://github.com/picnixz
add testshttps://github.com/python/cpython/pull/128287/commits/0f4180bce2fc03eb4dfd1250bda6b1cb6004dc5b
0f4180bhttps://github.com/python/cpython/pull/128287/commits/0f4180bce2fc03eb4dfd1250bda6b1cb6004dc5b
https://github.com/picnixz
blurbhttps://github.com/python/cpython/pull/128287/commits/1e5d9522aa0dcbb5b4e35b2c34ee6006cae7e2d3
1e5d952https://github.com/python/cpython/pull/128287/commits/1e5d9522aa0dcbb5b4e35b2c34ee6006cae7e2d3
https://github.com/picnixz
picnixzhttps://github.com/picnixz
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/08a0728d6c32986d35edb26872b4512a71ae60f3/.github/CODEOWNERS#L27
December 27, 2024 12:48https://github.com/python/cpython/pull/128287#event-15772574859
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 27, 2024 https://github.com/python/cpython/pull/128287#ref-issue-2748536442
Async generator/anext with default-tuple-value results in SystemError: returned with exception set #128078 https://github.com/python/cpython/issues/128078
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 27, 2024https://github.com/python/cpython/pull/128287#event-15772576381
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Dec 27, 2024https://github.com/python/cpython/pull/128287#event-15772576783
https://github.com/picnixz
picnixzhttps://github.com/picnixz
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Dec 27, 2024https://github.com/python/cpython/pull/128287#event-15772595651
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Dec 29, 2024 https://github.com/python/cpython/pull/128287#pullrequestreview-2524874741
View reviewed changes https://github.com/python/cpython/pull/128287/files/1e5d9522aa0dcbb5b4e35b2c34ee6006cae7e2d3
Objects/genobject.chttps://github.com/python/cpython/pull/128287/files/1e5d9522aa0dcbb5b4e35b2c34ee6006cae7e2d3#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/128287
Objects/genobject.chttps://github.com/python/cpython/pull/128287/files/1e5d9522aa0dcbb5b4e35b2c34ee6006cae7e2d3#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/128287
https://github.com/picnixz
correctly handle unexpected exceptionshttps://github.com/python/cpython/pull/128287/commits/fed26a9f1c72cbe4804ff05c1232bc586f7d326f
fed26a9https://github.com/python/cpython/pull/128287/commits/fed26a9f1c72cbe4804ff05c1232bc586f7d326f
https://github.com/picnixz
picnixzhttps://github.com/picnixz
ZeroIntensityhttps://github.com/ZeroIntensity
January 3, 2025 11:35https://github.com/python/cpython/pull/128287#event-15806692357
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 7, 2025https://github.com/python/cpython/pull/128287#issuecomment-2575087572
#101578https://github.com/python/cpython/issues/101578
Please reload this pagehttps://github.com/python/cpython/pull/128287
https://github.com/picnixz
Simplify _PyGen_SetStopIterationValue()https://github.com/python/cpython/pull/128287/commits/3a49c8deba5554568337f46bab0e7dea97c601f4
3a49c8dhttps://github.com/python/cpython/pull/128287/commits/3a49c8deba5554568337f46bab0e7dea97c601f4
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jan 11, 2025https://github.com/python/cpython/pull/128287#issuecomment-2585193613
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/128287
picnixzhttps://github.com/picnixz
January 13, 2025 14:27https://github.com/python/cpython/pull/128287#commits-pushed-59e169d
https://github.com/picnixz
Merge branch 'main' into fix/core/async-gens-except-128078https://github.com/python/cpython/pull/128287/commits/59e169d2cc7526fdbdddb6cc7ee45c768dd7a41a
59e169dhttps://github.com/python/cpython/pull/128287/commits/59e169d2cc7526fdbdddb6cc7ee45c768dd7a41a
https://github.com/picnixz
Delete Misc/NEWS.d/next/Core_and_Builtins/2024-12-27-13-07-21.gh-issu…https://github.com/python/cpython/pull/128287/commits/5dbc72c137f78f4bd6e7e90098c15113959ddf69
5dbc72chttps://github.com/python/cpython/pull/128287/commits/5dbc72c137f78f4bd6e7e90098c15113959ddf69
https://github.com/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jan 13, 2025https://github.com/python/cpython/pull/128287#event-15904960006
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jan 13, 2025https://github.com/python/cpython/pull/128287#event-15904978535
https://github.com/picnixz
picnixzhttps://github.com/picnixz
kumaraditya303https://github.com/kumaraditya303
January 13, 2025 13:32https://github.com/python/cpython/pull/128287#event-15905004223
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jan 13, 2025 https://github.com/python/cpython/pull/128287#pullrequestreview-2546829822
View reviewed changes https://github.com/python/cpython/pull/128287/files/5dbc72c137f78f4bd6e7e90098c15113959ddf69
Objects/genobject.chttps://github.com/python/cpython/pull/128287/files/5dbc72c137f78f4bd6e7e90098c15113959ddf69#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/128287
https://github.com/picnixz
https://github.com/kumaraditya303
Update Objects/genobject.chttps://github.com/python/cpython/pull/128287/commits/5ff8521d54f361de219f8981546765955d93258c
5ff8521https://github.com/python/cpython/pull/128287/commits/5ff8521d54f361de219f8981546765955d93258c
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jan 13, 2025 https://github.com/python/cpython/pull/128287#pullrequestreview-2546876998
View reviewed changes https://github.com/python/cpython/pull/128287/files/5ff8521d54f361de219f8981546765955d93258c
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 13, 2025https://github.com/python/cpython/pull/128287#event-15906479630
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
402b91dhttps://github.com/python/cpython/commit/402b91da87052878b4e7e8946ba91bdf4ee4bebe
Jan 13, 2025https://github.com/python/cpython/pull/128287#event-15907811957
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 13, 2025https://github.com/python/cpython/pull/128287#event-15907812774
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jan 13, 2025https://github.com/python/cpython/pull/128287#issuecomment-2587504690
@picnixzhttps://github.com/picnixz
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/128287
miss-islingtonhttps://github.com/miss-islington
Jan 13, 2025 https://github.com/python/cpython/pull/128287#ref-commit-a7b77bd
https://github.com/picnixz
https://github.com/kumaraditya303
https://github.com/miss-islington
pythongh-128078https://github.com/python/cpython/issues/128078
: Usehttps://github.com/miss-islington/cpython/commit/a7b77bd9317de98f06d2f424a530b57bcde94b93
PyErr_SetRaisedExceptionhttps://github.com/miss-islington/cpython/commit/a7b77bd9317de98f06d2f424a530b57bcde94b93
in `_PyGen_SetStopIte…https://github.com/miss-islington/cpython/commit/a7b77bd9317de98f06d2f424a530b57bcde94b93
a7b77bdhttps://github.com/miss-islington/cpython/commit/a7b77bd9317de98f06d2f424a530b57bcde94b93
pythonGH-128287https://github.com/python/cpython/pull/128287
402b91dhttps://github.com/miss-islington/cpython/commit/402b91da87052878b4e7e8946ba91bdf4ee4bebe
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 13, 2025https://github.com/python/cpython/pull/128287#issuecomment-2587505561
GH-128789https://github.com/python/cpython/pull/128789
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/128287
miss-islingtonhttps://github.com/miss-islington
Jan 13, 2025 https://github.com/python/cpython/pull/128287#ref-commit-c7ec6eb
https://github.com/picnixz
https://github.com/kumaraditya303
https://github.com/miss-islington
pythongh-128078https://github.com/python/cpython/issues/128078
: Usehttps://github.com/miss-islington/cpython/commit/c7ec6eba528352549908d81b3dcd4ec6117ffa3d
PyErr_SetRaisedExceptionhttps://github.com/miss-islington/cpython/commit/c7ec6eba528352549908d81b3dcd4ec6117ffa3d
in `_PyGen_SetStopIte…https://github.com/miss-islington/cpython/commit/c7ec6eba528352549908d81b3dcd4ec6117ffa3d
c7ec6ebhttps://github.com/miss-islington/cpython/commit/c7ec6eba528352549908d81b3dcd4ec6117ffa3d
pythonGH-128287https://github.com/python/cpython/pull/128287
402b91dhttps://github.com/miss-islington/cpython/commit/402b91da87052878b4e7e8946ba91bdf4ee4bebe
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jan 13, 2025https://github.com/python/cpython/pull/128287#event-15907819265
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 13, 2025https://github.com/python/cpython/pull/128287#issuecomment-2587505887
GH-128790https://github.com/python/cpython/pull/128790
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/128287
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Jan 13, 2025https://github.com/python/cpython/pull/128287#event-15907821320
https://github.com/picnixz
picnixzhttps://github.com/picnixz
January 13, 2025 16:00https://github.com/python/cpython/pull/128287#event-15907917548
Yhg1shttps://github.com/Yhg1s
Feb 3, 2025 https://github.com/python/cpython/pull/128287#ref-commit-64396fb
https://github.com/miss-islington
https://github.com/picnixz
https://github.com/kumaraditya303
[3.12]https://github.com/python/cpython/commit/64396fb12492542e63be31a98aac487ff114a1e6
gh-128078https://github.com/python/cpython/issues/128078
: Usehttps://github.com/python/cpython/commit/64396fb12492542e63be31a98aac487ff114a1e6
PyErr_SetRaisedExceptionhttps://github.com/python/cpython/commit/64396fb12492542e63be31a98aac487ff114a1e6
in `_PyGen_SetStopIt…https://github.com/python/cpython/commit/64396fb12492542e63be31a98aac487ff114a1e6
64396fbhttps://github.com/python/cpython/commit/64396fb12492542e63be31a98aac487ff114a1e6
GH-128287https://github.com/python/cpython/pull/128287
#128790https://github.com/python/cpython/pull/128790
gh-128078https://github.com/python/cpython/issues/128078
GH-128287https://github.com/python/cpython/pull/128287
402b91dhttps://github.com/python/cpython/commit/402b91da87052878b4e7e8946ba91bdf4ee4bebe
Yhg1shttps://github.com/Yhg1s
Feb 3, 2025 https://github.com/python/cpython/pull/128287#ref-commit-9120330
https://github.com/miss-islington
https://github.com/picnixz
https://github.com/kumaraditya303
[3.13]https://github.com/python/cpython/commit/91203303546030fa1a01f540df772331ba0b4b2c
gh-128078https://github.com/python/cpython/issues/128078
: Usehttps://github.com/python/cpython/commit/91203303546030fa1a01f540df772331ba0b4b2c
PyErr_SetRaisedExceptionhttps://github.com/python/cpython/commit/91203303546030fa1a01f540df772331ba0b4b2c
in `_PyGen_SetStopIt…https://github.com/python/cpython/commit/91203303546030fa1a01f540df772331ba0b4b2c
9120330https://github.com/python/cpython/commit/91203303546030fa1a01f540df772331ba0b4b2c
GH-128287https://github.com/python/cpython/pull/128287
#128789https://github.com/python/cpython/pull/128789
gh-128078https://github.com/python/cpython/issues/128078
GH-128287https://github.com/python/cpython/pull/128287
402b91dhttps://github.com/python/cpython/commit/402b91da87052878b4e7e8946ba91bdf4ee4bebe
https://github.com/Robertboy18
Robertboy18https://github.com/Robertboy18
Nov 24, 2026 https://github.com/python/cpython/pull/128287#ref-issue-6587721628
StopIteration from a generator that returns a value has no __context__ #162576 https://github.com/python/cpython/issues/162576
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F128287
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/128287/files/5ff8521d54f361de219f8981546765955d93258c
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/128287
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/128287
https://github.com/picnixz
https://github.com/markshannon
https://github.com/ZeroIntensity
https://github.com/kumaraditya303
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.