René's URL Explorer Experiment


Title: gh-157361: Implement `anext()` in Python instead of C by kumaraditya303 · Pull Request #157362 · python/cpython · GitHub

Open Graph Title: gh-157361: Implement `anext()` in Python instead of C by kumaraditya303 · Pull Request #157362 · python/cpython

X Title: gh-157361: Implement `anext()` in Python instead of C by kumaraditya303 · Pull Request #157362 · python/cpython

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

Open Graph Description: Remove the C implementation of the anext() builtin and the anext_awaitable helper type. A _pybuiltins module is created with the implementation and that is frozen into the interpreter using the exi...

X Description: Remove the C implementation of the anext() builtin and the anext_awaitable helper type. A _pybuiltins module is created with the implementation and that is frozen into the interpreter using the exi...

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

X: @github

direct link

Domain: github.com

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:89f48845-cb48-f6ff-ed03-1f894b31cbbd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8116:DB09F:4383E9F:560CA0A:6B023E9A
html-safe-nonce28519d90ce53adf3ed88b5622fe980a37bec6db6ed0f19700b0bd9bb8527d0a7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTE2OkRCMDlGOjQzODNFOUY6NTYwQ0EwQTo2QjAyM0U5QSIsInZpc2l0b3JfaWQiOiI1NTk3NDM1OTY0NDY2MjgyMTM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd35cc68032a912b679a5807224da7926b61c6838de1876e3c63bd97e0503e79f
hovercard-subject-tagpull_request:4512855299
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/157362/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/09025134ba74b68e497c4c66180f849a69cf3f6b23ff1d3f6cccaee3dd2a82d1/python/cpython/pull/157362
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/09025134ba74b68e497c4c66180f849a69cf3f6b23ff1d3f6cccaee3dd2a82d1/python/cpython/pull/157362
og:image:altRemove the C implementation of the anext() builtin and the anext_awaitable helper type. A _pybuiltins module is created with the implementation and that is frozen into the interpreter using the exi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekumaraditya303
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/157362#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157362
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%2F157362
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/157362
Reloadhttps://github.com/python/cpython/pull/157362
Reloadhttps://github.com/python/cpython/pull/157362
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
kumaraditya303:anext-in-pythonhttps://github.com/kumaraditya303/cpython/tree/anext-in-python
Conversationhttps://github.com/python/cpython/pull/157362
Commits8 (8)https://github.com/python/cpython/pull/157362/commits
Checkshttps://github.com/python/cpython/pull/157362/checks
Files changedhttps://github.com/python/cpython/pull/157362/files
gh-157361: Implement anext() in Python instead of Chttps://github.com/python/cpython/pull/157362#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:anext-in-pythonhttps://github.com/kumaraditya303/cpython/tree/anext-in-python
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Sep 12, 2026https://github.com/python/cpython/pull/157362#issue-5432796108
Please reload this pagehttps://github.com/python/cpython/pull/157362
Implement anext and aiter in pure Python #157361https://github.com/python/cpython/issues/157361
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/kumaraditya303
Implement anext() in Python instead of Chttps://github.com/python/cpython/pull/157362/commits/cdd7ca2c495754de273405911fef02809f23eb4c
cdd7ca2https://github.com/python/cpython/pull/157362/commits/cdd7ca2c495754de273405911fef02809f23eb4c
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 12, 2026 https://github.com/python/cpython/pull/157362#ref-issue-5432747176
Implement anext and aiter in pure Python #157361 https://github.com/python/cpython/issues/157361
kumaraditya303https://github.com/kumaraditya303
September 12, 2026 16:38https://github.com/python/cpython/pull/157362#commits-pushed-fcec7cf
https://github.com/kumaraditya303
use frozen modules insteadhttps://github.com/python/cpython/pull/157362/commits/fcec7cfb55c6cd75ab8d0923ba7d6b24e5f0b09a
fcec7cfhttps://github.com/python/cpython/pull/157362/commits/fcec7cfb55c6cd75ab8d0923ba7d6b24e5f0b09a
https://github.com/kumaraditya303
add newshttps://github.com/python/cpython/pull/157362/commits/0903f033016568a13d9121abf40081c60009cbe6
0903f03https://github.com/python/cpython/pull/157362/commits/0903f033016568a13d9121abf40081c60009cbe6
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 12, 2026 https://github.com/python/cpython/pull/157362#pullrequestreview-5187310259
View reviewed changes https://github.com/python/cpython/pull/157362/files/0903f033016568a13d9121abf40081c60009cbe6
Lib/_builtins.pyhttps://github.com/python/cpython/pull/157362/files/0903f033016568a13d9121abf40081c60009cbe6#diff-2d8e07b2c4022f78b7e4951c17aae3dfd66694fa670febecbe217e43fc599634
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 12, 2026 https://github.com/python/cpython/pull/157362#pullrequestreview-5187313812
View reviewed changes https://github.com/python/cpython/pull/157362/files/0903f033016568a13d9121abf40081c60009cbe6
Lib/_pybuiltins.pyhttps://github.com/python/cpython/pull/157362/files/0903f033016568a13d9121abf40081c60009cbe6#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 12, 2026 https://github.com/python/cpython/pull/157362#pullrequestreview-5187315703
View reviewed changes https://github.com/python/cpython/pull/157362/files/0903f033016568a13d9121abf40081c60009cbe6
Lib/_builtins.pyhttps://github.com/python/cpython/pull/157362/files/0903f033016568a13d9121abf40081c60009cbe6#diff-2d8e07b2c4022f78b7e4951c17aae3dfd66694fa670febecbe217e43fc599634
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/kumaraditya303
address review and fix testhttps://github.com/python/cpython/pull/157362/commits/52befa610a6b050081757b07487873a5f521a59d
52befa6https://github.com/python/cpython/pull/157362/commits/52befa610a6b050081757b07487873a5f521a59d
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
force-pushedhttps://github.com/python/cpython/compare/5a5f66325684f360d2b8bf325c65ee639a03d7ee..52befa610a6b050081757b07487873a5f521a59d
5a5f663https://github.com/python/cpython/commit/5a5f66325684f360d2b8bf325c65ee639a03d7ee
52befa6https://github.com/python/cpython/commit/52befa610a6b050081757b07487873a5f521a59d
Compare https://github.com/python/cpython/compare/5a5f66325684f360d2b8bf325c65ee639a03d7ee..52befa610a6b050081757b07487873a5f521a59d
September 13, 2026 04:06https://github.com/python/cpython/pull/157362#event-31042192874
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
September 13, 2026 04:16https://github.com/python/cpython/pull/157362#event-31042350022
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
1st1https://github.com/1st1
AA-Turnerhttps://github.com/AA-Turner
FFY00https://github.com/FFY00
ZeroIntensityhttps://github.com/ZeroIntensity
asvetlovhttps://github.com/asvetlov
brettcannonhttps://github.com/brettcannon
emmatypinghttps://github.com/emmatyping
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
erlend-aaslandhttps://github.com/erlend-aasland
itamarohttps://github.com/itamaro
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/58cdff72de89d92c27c53146bf51cb8ad2558b02/.github/CODEOWNERS#L372
September 13, 2026 04:16https://github.com/python/cpython/pull/157362#event-31042350263
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
Sep 13, 2026https://github.com/python/cpython/pull/157362#event-31042350886
https://github.com/kumaraditya303
fix importlib testshttps://github.com/python/cpython/pull/157362/commits/9db78378d3d962deedaf4dc129be8575cdef23a5
9db7837https://github.com/python/cpython/pull/157362/commits/9db78378d3d962deedaf4dc129be8575cdef23a5
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Sep 13, 2026https://github.com/python/cpython/pull/157362#event-31050572044
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 13, 2026https://github.com/python/cpython/pull/157362#issuecomment-5652961044
@kumaraditya303https://github.com/kumaraditya303
9db7837https://github.com/python/cpython/commit/9db78378d3d962deedaf4dc129be8575cdef23a5
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F157362%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F157362%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Sep 13, 2026https://github.com/python/cpython/pull/157362#event-31050572944
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Sep 13, 2026 https://github.com/python/cpython/pull/157362#pullrequestreview-5190571731
View reviewed changes https://github.com/python/cpython/pull/157362/files/9db78378d3d962deedaf4dc129be8575cdef23a5
Lib/_pybuiltins.pyhttps://github.com/python/cpython/pull/157362/files/9db78378d3d962deedaf4dc129be8575cdef23a5#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
Please reload this pagehttps://github.com/python/cpython/pull/157362
Lib/_pybuiltins.pyhttps://github.com/python/cpython/pull/157362/files/9db78378d3d962deedaf4dc129be8575cdef23a5#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
Please reload this pagehttps://github.com/python/cpython/pull/157362
Misc/NEWS.d/next/Core_and_Builtins/2026-09-12-16-40-00.gh-issue-157361.anextpy.rsthttps://github.com/python/cpython/pull/157362/files/9db78378d3d962deedaf4dc129be8575cdef23a5#diff-86ceb25f785aa16cc8f04cd971bd2f43d2aabf2e261700a5f0c2ca0d691e1379
Please reload this pagehttps://github.com/python/cpython/pull/157362
Lib/test/test_asyncgen.pyhttps://github.com/python/cpython/pull/157362/files/9db78378d3d962deedaf4dc129be8575cdef23a5#diff-1da5f0220b91e20c669b0e63724b978d4cf603373c850fbdc705abb2d5937f40
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
September 14, 2026 22:18https://github.com/python/cpython/pull/157362#event-31133959618
kumaraditya303https://github.com/kumaraditya303
September 16, 2026 09:06https://github.com/python/cpython/pull/157362#commits-pushed-15c8f84
https://github.com/kumaraditya303
https://github.com/picnixz
Update Lib/_pybuiltins.pyhttps://github.com/python/cpython/pull/157362/commits/15c8f84eccf938c30322bb63bed3dfc84f13f70d
15c8f84https://github.com/python/cpython/pull/157362/commits/15c8f84eccf938c30322bb63bed3dfc84f13f70d
https://github.com/kumaraditya303
fix filename in tracebackshttps://github.com/python/cpython/pull/157362/commits/cefda05992a99a651a7bc2638821728401b37c14
cefda05https://github.com/python/cpython/pull/157362/commits/cefda05992a99a651a7bc2638821728401b37c14
https://github.com/kumaraditya303
use as filename in tracebackshttps://github.com/python/cpython/pull/157362/commits/d59d97ed462e7ecb33ea7d2f0e6d7c3cbfef95a7
d59d97ehttps://github.com/python/cpython/pull/157362/commits/d59d97ed462e7ecb33ea7d2f0e6d7c3cbfef95a7
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Sep 16, 2026https://github.com/python/cpython/pull/157362#issuecomment-5698257523
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
0a6c1edhttps://github.com/python/cpython/commit/0a6c1ed34118b091230ee38fc047bcc2df8e5c5e
Sep 16, 2026https://github.com/python/cpython/pull/157362#event-31248429231
Please reload this pagehttps://github.com/python/cpython/pull/157362
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
Sep 16, 2026https://github.com/python/cpython/pull/157362#event-31248432811
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
September 16, 2026 13:29https://github.com/python/cpython/pull/157362#event-31248434102
https://github.com/leandrodamascena
leandrodamascenahttps://github.com/leandrodamascena
Sep 29, 2026 https://github.com/python/cpython/pull/157362#ref-issue-5631222465
Performance regression in anext() after moving its implementation from C to Python #158407 https://github.com/python/cpython/issues/158407
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%2F157362
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/157362/files/9db78378d3d962deedaf4dc129be8575cdef23a5
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/willingc
willingc https://github.com/willingc
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/FFY00
FFY00 https://github.com/FFY00
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/itamaro
itamaro https://github.com/itamaro
Please reload this pagehttps://github.com/python/cpython/pull/157362
Please reload this pagehttps://github.com/python/cpython/pull/157362
https://github.com/kumaraditya303
https://github.com/bedevere-bot
https://github.com/picnixz
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.