| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5620c8df-293f-8cf8-32d8-47e6708ee8dc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A08E:14227A:E05E41:12D1216:6B064BAB |
| html-safe-nonce | 8b03a4dbbff56cd3f00cef53ccb3618ef935f356de9f9dfa24c5e5f343f241c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDhFOjE0MjI3QTpFMDVFNDE6MTJEMTIxNjo2QjA2NEJBQiIsInZpc2l0b3JfaWQiOiI4NzAxNDY4ODcyOTI4NTQ1NzA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 24c212a33def5457d21b1c8b7b28cf96c92b9333587ba02e0de7ce7843147256 |
| hovercard-subject-tag | pull_request:2273647836 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/128780/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c24332de9724e33b036bb989332c9becd4cf7298b3fd10e3ef1aeb1f67269813/python/cpython/pull/128780 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c24332de9724e33b036bb989332c9becd4cf7298b3fd10e3ef1aeb1f67269813/python/cpython/pull/128780 |
| og:image:alt | See #128078 (comment).
@kumaraditya303: There are a couple of other calls to _PyGen_SetStopIterationValue() but I'm not well-versed enough in asyncio to know whether I should clear them or not.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f1f9a08f7c769a37f1dfc18ad43d463c222a7eea |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/128780#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128780 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128780 |
| 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 |
| Reload | https://github.com/python/cpython/pull/128780 |
| Reload | https://github.com/python/cpython/pull/128780 |
| Reload | https://github.com/python/cpython/pull/128780 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| kumaraditya303 | https://github.com/kumaraditya303 |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:fix/core/anext-clear-exception-128078 | https://github.com/picnixz/cpython/tree/fix/core/anext-clear-exception-128078 |
| Conversation | https://github.com/python/cpython/pull/128780 |
| Commits4 (4) | https://github.com/python/cpython/pull/128780/commits |
| Checks | https://github.com/python/cpython/pull/128780/checks |
| Files changed | https://github.com/python/cpython/pull/128780/files |
| gh-128078: Clear exception in anext before calling _PyGen_SetStopIterationValue | https://github.com/python/cpython/pull/128780#top |
| kumaraditya303 | https://github.com/kumaraditya303 |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:fix/core/anext-clear-exception-128078 | https://github.com/picnixz/cpython/tree/fix/core/anext-clear-exception-128078 |
|
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#issue-2783754351 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| #128078 (comment) | https://github.com/python/cpython/issues/128078#issuecomment-2585252352 |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| Async generator/anext with default-tuple-value results in SystemError: returned with exception set #128078 | https://github.com/python/cpython/issues/128078 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| picnixz | https://github.com/picnixz |
| January 13, 2025 12:43 | https://github.com/python/cpython/pull/128780#commits-pushed-31c2e9e |
|
| https://github.com/picnixz |
| clear StopAsyncIteration before calling _PyGen_SetStopIterationValue | https://github.com/python/cpython/pull/128780/commits/31c2e9ec97581fedfbfb0e44e1756676abc938a1 |
| 31c2e9e | https://github.com/python/cpython/pull/128780/commits/31c2e9ec97581fedfbfb0e44e1756676abc938a1 |
|
| https://github.com/picnixz |
| blurb | https://github.com/python/cpython/pull/128780/commits/5db01cd3c20b6d73be8f76cba75b210c65f688b2 |
| 5db01cd | https://github.com/python/cpython/pull/128780/commits/5db01cd3c20b6d73be8f76cba75b210c65f688b2 |
|
| https://github.com/picnixz |
| tests | https://github.com/python/cpython/pull/128780/commits/e115e173255fd10889a1284312f3c17e6c99958f |
| e115e17 | https://github.com/python/cpython/pull/128780/commits/e115e173255fd10889a1284312f3c17e6c99958f |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| markshannon | https://github.com/markshannon |
| code owner | https://github.com/python/cpython/blob/6ff8f82f92a8af363b2bdd8bbaba5845eef430fc/.github/CODEOWNERS#L27 |
| January 13, 2025 11:54 | https://github.com/python/cpython/pull/128780#event-15903769901 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#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/picnixz |
| picnixz | https://github.com/picnixz |
| kumaraditya303 | https://github.com/kumaraditya303 |
| January 13, 2025 11:54 | https://github.com/python/cpython/pull/128780#event-15903771274 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#event-15903771292 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#pullrequestreview-2546469535 |
|
View reviewed changes
| https://github.com/python/cpython/pull/128780/files/e115e173255fd10889a1284312f3c17e6c99958f |
| Lib/test/test_asyncgen.py | https://github.com/python/cpython/pull/128780/files/e115e173255fd10889a1284312f3c17e6c99958f#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
|
| https://github.com/picnixz |
|
| https://github.com/kumaraditya303 |
| Update Lib/test/test_asyncgen.py | https://github.com/python/cpython/pull/128780/commits/933324363a12bcdce6f58f2e5dc8b22ad7ea8bf3 |
| 9333243 | https://github.com/python/cpython/pull/128780/commits/933324363a12bcdce6f58f2e5dc8b22ad7ea8bf3 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#issuecomment-2587015313 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#pullrequestreview-2546526879 |
|
View reviewed changes
| https://github.com/python/cpython/pull/128780/files/933324363a12bcdce6f58f2e5dc8b22ad7ea8bf3 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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 13, 2025 | https://github.com/python/cpython/pull/128780#event-15904450362 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| 76ffaef | https://github.com/python/cpython/commit/76ffaef729c91bb79da6df2ade48f3ec51118300 |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#event-15904524896 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#event-15904525520 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
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 |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#event-15904529682 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#issuecomment-2587033311 |
| @picnixz | https://github.com/picnixz |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#issuecomment-2587033342 |
| @picnixz | https://github.com/picnixz |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| miss-islington | https://github.com/miss-islington |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#ref-commit-a6724dd |
|
| https://github.com/picnixz |
|
| https://github.com/kumaraditya303 |
|
| https://github.com/miss-islington |
| pythongh-128078 | https://github.com/python/cpython/issues/128078 |
| : Clear exception in | https://github.com/miss-islington/cpython/commit/a6724dd561f2f629e3b3d709024e33bd640e4bc7 |
| anext | https://github.com/miss-islington/cpython/commit/a6724dd561f2f629e3b3d709024e33bd640e4bc7 |
| before calling `_PyGen_Se… | https://github.com/miss-islington/cpython/commit/a6724dd561f2f629e3b3d709024e33bd640e4bc7 |
| a6724dd | https://github.com/miss-islington/cpython/commit/a6724dd561f2f629e3b3d709024e33bd640e4bc7 |
| pythonGH-128780 | https://github.com/python/cpython/pull/128780 |
| 76ffaef | https://github.com/miss-islington/cpython/commit/76ffaef729c91bb79da6df2ade48f3ec51118300 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#issuecomment-2587034021 |
| GH-128784 | https://github.com/python/cpython/pull/128784 |
| 3.12 branch | https://github.com/python/cpython/tree/3.12 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| miss-islington | https://github.com/miss-islington |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#ref-commit-cfdefc9 |
|
| https://github.com/picnixz |
|
| https://github.com/kumaraditya303 |
|
| https://github.com/miss-islington |
| pythongh-128078 | https://github.com/python/cpython/issues/128078 |
| : Clear exception in | https://github.com/miss-islington/cpython/commit/cfdefc9d91f25cd468f89d6185baee8f7186ac65 |
| anext | https://github.com/miss-islington/cpython/commit/cfdefc9d91f25cd468f89d6185baee8f7186ac65 |
| before calling `_PyGen_Se… | https://github.com/miss-islington/cpython/commit/cfdefc9d91f25cd468f89d6185baee8f7186ac65 |
| cfdefc9 | https://github.com/miss-islington/cpython/commit/cfdefc9d91f25cd468f89d6185baee8f7186ac65 |
| pythonGH-128780 | https://github.com/python/cpython/pull/128780 |
| 76ffaef | https://github.com/miss-islington/cpython/commit/76ffaef729c91bb79da6df2ade48f3ec51118300 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2025 | https://github.com/python/cpython/pull/128780#event-15904534742 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 13, 2025 | https://github.com/python/cpython/pull/128780#issuecomment-2587034181 |
| GH-128785 | https://github.com/python/cpython/pull/128785 |
| 3.13 branch | https://github.com/python/cpython/tree/3.13 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2025 | https://github.com/python/cpython/pull/128780#event-15904535698 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#ref-commit-4facd7d |
|
| https://github.com/miss-islington |
|
| https://github.com/picnixz |
|
| https://github.com/kumaraditya303 |
| [3.12] | https://github.com/python/cpython/commit/4facd7d119a63bcd598260e06977d6b792592b88 |
| gh-128078 | https://github.com/python/cpython/issues/128078 |
| : Clear exception in | https://github.com/python/cpython/commit/4facd7d119a63bcd598260e06977d6b792592b88 |
| anext | https://github.com/python/cpython/commit/4facd7d119a63bcd598260e06977d6b792592b88 |
| before calling `_PyGen_S… | https://github.com/python/cpython/commit/4facd7d119a63bcd598260e06977d6b792592b88 |
| 4facd7d | https://github.com/python/cpython/commit/4facd7d119a63bcd598260e06977d6b792592b88 |
| GH-128780 | https://github.com/python/cpython/pull/128780 |
| #128784 | https://github.com/python/cpython/pull/128784 |
| gh-128078 | https://github.com/python/cpython/issues/128078 |
| GH-128780 | https://github.com/python/cpython/pull/128780 |
| 76ffaef | https://github.com/python/cpython/commit/76ffaef729c91bb79da6df2ade48f3ec51118300 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#ref-commit-66d0636 |
|
| https://github.com/miss-islington |
|
| https://github.com/picnixz |
|
| https://github.com/kumaraditya303 |
| [3.13] | https://github.com/python/cpython/commit/66d06360252cd3dc26edfbe5d30c51aa7505524a |
| gh-128078 | https://github.com/python/cpython/issues/128078 |
| : Clear exception in | https://github.com/python/cpython/commit/66d06360252cd3dc26edfbe5d30c51aa7505524a |
| anext | https://github.com/python/cpython/commit/66d06360252cd3dc26edfbe5d30c51aa7505524a |
| before calling `_PyGen_S… | https://github.com/python/cpython/commit/66d06360252cd3dc26edfbe5d30c51aa7505524a |
| 66d0636 | https://github.com/python/cpython/commit/66d06360252cd3dc26edfbe5d30c51aa7505524a |
| GH-128780 | https://github.com/python/cpython/pull/128780 |
| #128785 | https://github.com/python/cpython/pull/128785 |
| gh-128078 | https://github.com/python/cpython/issues/128078 |
| GH-128780 | https://github.com/python/cpython/pull/128780 |
| 76ffaef | https://github.com/python/cpython/commit/76ffaef729c91bb79da6df2ade48f3ec51118300 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| January 13, 2025 13:23 | https://github.com/python/cpython/pull/128780#event-15904892786 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Jan 13, 2025
| https://github.com/python/cpython/pull/128780#ref-pullrequest-2760847204 |
|
gh-128078: Simplify logic in _PyGen_SetStopIterationValue (follow-up to gh-128780)
#128287
| https://github.com/python/cpython/pull/128287 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128780 |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
|
| https://github.com/python/cpython/pull/128780/files/933324363a12bcdce6f58f2e5dc8b22ad7ea8bf3 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
| Please reload this page | https://github.com/python/cpython/pull/128780 |
|
| https://github.com/picnixz |
|
| https://github.com/kumaraditya303 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |