| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:00b9e445-cbae-031e-fb69-97300c8a7d00 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE2C:1BD25B:CDEDED:11B0356:6B00B4FD |
| html-safe-nonce | 3c2d2ddef7c1580d459c83bd9e71b4b96645cd8ad35e0da4d69ebd88acf7b80d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTJDOjFCRDI1QjpDREVERUQ6MTFCMDM1Njo2QjAwQjRGRCIsInZpc2l0b3JfaWQiOiI2Mjc0ODY2ODAyMjgzNTU4MTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9f281fe0600ccf72616822edd4bbd56057a5f7691cf043966d454e4897a1af1b |
| hovercard-subject-tag | pull_request:610247944 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/25238/files |
| twitter:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue43751 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/25238/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25238%2Ffiles |
| 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%2F25238%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/25238/files |
| Reload | https://github.com/python/cpython/pull/25238/files |
| Reload | https://github.com/python/cpython/pull/25238/files |
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| pablogsal | https://github.com/pablogsal |
| python:master | https://github.com/python/cpython/tree/master |
| sweeneyde:fix_anext | https://github.com/sweeneyde/cpython/tree/fix_anext |
|
Conversation
19
| https://github.com/python/cpython/pull/25238 |
|
Commits
16
| https://github.com/python/cpython/pull/25238/commits |
|
Checks
0
| https://github.com/python/cpython/pull/25238/checks |
|
Files changed
| https://github.com/python/cpython/pull/25238/files |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
|
bpo-43751: Fix anext() bug where it erroneously returned None
| https://github.com/python/cpython/pull/25238/files#top |
|
Show all changes
16 commits
| https://github.com/python/cpython/pull/25238/files |
|
065331f
Add another test for anext
sweeneyde Apr 6, 2021
| https://github.com/python/cpython/pull/25238/commits/065331f0eaa5e2d216c6f3fea6b99cf956e9d2a1 |
|
ddeac2d
Fix anext(ait, default) returning None
sweeneyde Apr 6, 2021
| https://github.com/python/cpython/pull/25238/commits/ddeac2d32e629e80f067b14e00042ef044852a4a |
|
134449b
Add null check for getter
sweeneyde Apr 7, 2021
| https://github.com/python/cpython/pull/25238/commits/134449b2d9b7b079abe2b767dc0c4d9e5ab7126a |
|
bfd57ad
Test anext() on generator and python-implemented async iterator class
sweeneyde Apr 7, 2021
| https://github.com/python/cpython/pull/25238/commits/bfd57ada5be42b627b5259792cc8524b2d8b6630 |
|
d8c56ff
fix whitespace
sweeneyde Apr 7, 2021
| https://github.com/python/cpython/pull/25238/commits/d8c56ffec50586f83eb721167ee09632d2044391 |
|
ab54ece
📜🤖 Added by blurb_it.
blurb-it[bot] Apr 7, 2021
| https://github.com/python/cpython/pull/25238/commits/ab54eceb3c7dc2ec37899caa77fd803d6c33123d |
|
056d9c6
Explicity call am_await() when applicable.
sweeneyde Apr 7, 2021
| https://github.com/python/cpython/pull/25238/commits/056d9c61a4b8ac92fb8ea87c33bfa2a54ed1403a |
|
58a56fb
Refactor tests
sweeneyde Apr 8, 2021
| https://github.com/python/cpython/pull/25238/commits/58a56fb223d17686223ec5aa24eb6a54a22791a1 |
|
a113e19
Add test for async generator with __anext__ = types.coroutine(...)
sweeneyde Apr 8, 2021
| https://github.com/python/cpython/pull/25238/commits/a113e19ec4165b73fe8652259c4351452fbd760b |
|
4039170
Update Objects/iterobject.c
sweeneyde Apr 9, 2021
| https://github.com/python/cpython/pull/25238/commits/403917057b68840e400848c908d71fdd97fba75b |
|
0130217
fix minor issues; add a test case for bad awaitables
sweeneyde Apr 10, 2021
| https://github.com/python/cpython/pull/25238/commits/0130217476aa3e41876c36a7320b8b6a0603a137 |
|
665f84c
merge with github
sweeneyde Apr 10, 2021
| https://github.com/python/cpython/pull/25238/commits/665f84c72fbdf769253e84bc6a56688274095526 |
|
5607d83
Add more tests for corner cases
sweeneyde Apr 10, 2021
| https://github.com/python/cpython/pull/25238/commits/5607d839eed58e20dd6b4dc8ba50b34f0afefce7 |
|
11fe9c2
make the corner-case tests pass
sweeneyde Apr 10, 2021
| https://github.com/python/cpython/pull/25238/commits/11fe9c2a53990d91dc5e41a39c16a06a08bd5eee |
|
6a6fa66
Add null check for new_awaitable; remove null check for am_await beca…
sweeneyde Apr 11, 2021
| https://github.com/python/cpython/pull/25238/commits/6a6fa66b6917d0d08f20df7a214b8053b36d75a1 |
|
857a2b0
Avoid leaking awaitable
sweeneyde Apr 11, 2021
| https://github.com/python/cpython/pull/25238/commits/857a2b0c605897e284115197263a70a1d57fb031 |
|
Clear filters
| https://github.com/python/cpython/pull/25238/files |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
|
test_asyncgen.py
| https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
|
2021-04-07-18-00-05.bpo-43751.8fHsqQ.rst
| https://github.com/python/cpython/pull/25238/files#diff-0d5bc24793b3fc49eb4a9cf1cd3ab86ea197cf9224a7befdbd781a8fe4190b6a |
|
iterobject.c
| https://github.com/python/cpython/pull/25238/files#diff-e0923aa0ec18bd667c33e79ede96b408e9bca3e9e0af262028722d7f23928723 |
| Lib/test/test_asyncgen.py | https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
|
View file
| https://github.com/sweeneyde/cpython/blob/857a2b0c605897e284115197263a70a1d57fb031/Lib/test/test_asyncgen.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25238/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
|
| https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
|
| https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
|
| https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
|
| https://github.com/python/cpython/pull/25238/files#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40 |
| Misc/NEWS.d/next/Core and Builtins/2021-04-07-18-00-05.bpo-43751.8fHsqQ.rst | https://github.com/python/cpython/pull/25238/files#diff-0d5bc24793b3fc49eb4a9cf1cd3ab86ea197cf9224a7befdbd781a8fe4190b6a |
|
View file
| https://github.com/sweeneyde/cpython/blob/857a2b0c605897e284115197263a70a1d57fb031/Misc/NEWS.d/next/Core%20and%20Builtins/2021-04-07-18-00-05.bpo-43751.8fHsqQ.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25238/{{ revealButtonHref }} |
| Objects/iterobject.c | https://github.com/python/cpython/pull/25238/files#diff-e0923aa0ec18bd667c33e79ede96b408e9bca3e9e0af262028722d7f23928723 |
|
View file
| https://github.com/sweeneyde/cpython/blob/857a2b0c605897e284115197263a70a1d57fb031/Objects/iterobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25238/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25238/files#diff-e0923aa0ec18bd667c33e79ede96b408e9bca3e9e0af262028722d7f23928723 |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611109784 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611109812 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| sweeneyde | https://github.com/sweeneyde |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611114194 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611114563 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611114615 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| sweeneyde | https://github.com/sweeneyde |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611114956 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| sweeneyde | https://github.com/sweeneyde |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611115103 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611118132 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611118039 |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
| pablogsal | https://github.com/pablogsal |
| Apr 11, 2021 | https://github.com/python/cpython/pull/25238/files#r611118079 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/25238/files |
|
| https://github.com/python/cpython/pull/25238/files#diff-e0923aa0ec18bd667c33e79ede96b408e9bca3e9e0af262028722d7f23928723 |
|
| 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 |