René's URL Explorer Experiment


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

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

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

Description: Move both forms of aiter() into the frozen _pybuiltins module and remove the C async_callable_iterator types. The callable form now returns an iterator whose __anext__() is a plain coroutine, so call-graph tools can see through it into the awaited result of the callable. Issue: gh-157361

Open Graph Description: Move both forms of aiter() into the frozen _pybuiltins module and remove the C async_callable_iterator types. The callable form now returns an iterator whose __anext__() is a plain coroutine, so ca...

X Description: Move both forms of aiter() into the frozen _pybuiltins module and remove the C async_callable_iterator types. The callable form now returns an iterator whose __anext__() is a plain coroutine, so ca...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b89991ea-7335-8c52-2ffa-de33524d1f5d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9ACE:2C69FC:1F3EDD3:29558F1:6B023B49
html-safe-nonce65cc1a39d71e31f15607426510367069aa103545baa79ad6cb1bfee0df4a6fde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUNFOjJDNjlGQzoxRjNFREQzOjI5NTU4RjE6NkIwMjNCNDkiLCJ2aXNpdG9yX2lkIjoiMTE3MjYzNjQ5MjkxNzUyMTIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacecc3602dc43436d84f1438604fae92df925ce3cb722b87ae485b7352a9ab0012
hovercard-subject-tagpull_request:4560250186
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/157687/files
twitter:imagehttps://avatars.githubusercontent.com/u/59607654?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/59607654?s=400&v=4
og:image:altMove both forms of aiter() into the frozen _pybuiltins module and remove the C async_callable_iterator types. The callable form now returns an iterator whose __anext__() is a plain coroutine, so ca...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/python/cpython/pull/157687/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157687%2Ffiles
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%2F157687%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/157687/files
Reloadhttps://github.com/python/cpython/pull/157687/files
Reloadhttps://github.com/python/cpython/pull/157687/files
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
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
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:aiter-in-pythonhttps://github.com/kumaraditya303/cpython/tree/aiter-in-python
Conversation 1 https://github.com/python/cpython/pull/157687
Commits 2 https://github.com/python/cpython/pull/157687/commits
Checks 58 https://github.com/python/cpython/pull/157687/checks
Files changed https://github.com/python/cpython/pull/157687/files
Please reload this pagehttps://github.com/python/cpython/pull/157687/files
gh-157361: Implement aiter() in Python instead of C https://github.com/python/cpython/pull/157687/files#top
Show all changes 2 commits https://github.com/python/cpython/pull/157687/files
87872bc gh-157361: Implement aiter() in Python instead of C kumaraditya303 Sep 13, 2026 https://github.com/python/cpython/pull/157687/commits/87872bcf979040979f646e6fc4e4106821a20dec
c4595f6 Merge remote-tracking branch 'upstream/main' into aiter-in-python kumaraditya303 Oct 20, 2026 https://github.com/python/cpython/pull/157687/commits/c4595f67895d614e615cac02c0462bd853f83e05
Clear filters https://github.com/python/cpython/pull/157687/files
Please reload this pagehttps://github.com/python/cpython/pull/157687/files
Please reload this pagehttps://github.com/python/cpython/pull/157687/files
pycore_interp_structs.h https://github.com/python/cpython/pull/157687/files#diff-6075b6142803c1eccc213aa150704fd639443c65311d5999f69a5ea77cb76756
pycore_iterobject.h https://github.com/python/cpython/pull/157687/files#diff-a02a762941a3b083e5b244812eedff11b3ef5b07445b5dad04a03403ddb01d3d
_pybuiltins.py https://github.com/python/cpython/pull/157687/files#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
test_graph.py https://github.com/python/cpython/pull/157687/files#diff-be8b668d2f3d075670425801b96a54d7e8db1033442919c45278f51312b10f4a
test_inspect.py https://github.com/python/cpython/pull/157687/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0
2026-09-13-10-00-00.gh-issue-157361.aiterpy.rst https://github.com/python/cpython/pull/157687/files#diff-e0feb26096984185a44153514a93fcce1d10c81adebe166c05f6b857870596df
iterobject.c https://github.com/python/cpython/pull/157687/files#diff-e0923aa0ec18bd667c33e79ede96b408e9bca3e9e0af262028722d7f23928723
object.c https://github.com/python/cpython/pull/157687/files#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363
bltinmodule.c https://github.com/python/cpython/pull/157687/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
bltinmodule.c.h https://github.com/python/cpython/pull/157687/files#diff-a4b4bbe4bcd5f70f9cbf9fb324779deb3c774ab38683ebc3cad83f03920070c5
globals-to-fix.tsv https://github.com/python/cpython/pull/157687/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
Include/internal/pycore_interp_structs.hhttps://github.com/python/cpython/pull/157687/files#diff-6075b6142803c1eccc213aa150704fd639443c65311d5999f69a5ea77cb76756
View file https://github.com/kumaraditya303/cpython/blob/c4595f67895d614e615cac02c0462bd853f83e05/Include/internal/pycore_interp_structs.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157687/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157687/files#diff-6075b6142803c1eccc213aa150704fd639443c65311d5999f69a5ea77cb76756
https://github.com/python/cpython/pull/157687/files#diff-6075b6142803c1eccc213aa150704fd639443c65311d5999f69a5ea77cb76756
Include/internal/pycore_iterobject.hhttps://github.com/python/cpython/pull/157687/files#diff-a02a762941a3b083e5b244812eedff11b3ef5b07445b5dad04a03403ddb01d3d
View file https://github.com/kumaraditya303/cpython/blob/c4595f67895d614e615cac02c0462bd853f83e05/Include/internal/pycore_iterobject.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157687/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157687/files#diff-a02a762941a3b083e5b244812eedff11b3ef5b07445b5dad04a03403ddb01d3d
https://github.com/python/cpython/pull/157687/files#diff-a02a762941a3b083e5b244812eedff11b3ef5b07445b5dad04a03403ddb01d3d
Lib/_pybuiltins.pyhttps://github.com/python/cpython/pull/157687/files#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
View file https://github.com/kumaraditya303/cpython/blob/c4595f67895d614e615cac02c0462bd853f83e05/Lib/_pybuiltins.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157687/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157687/files#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
https://github.com/python/cpython/pull/157687/files#diff-490203e0638be1c25e2b57c9409fa62bb554625b066ce39c9a0a5731a44ff674
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L377
Lib/test/test_asyncio/test_graph.pyhttps://github.com/python/cpython/pull/157687/files#diff-be8b668d2f3d075670425801b96a54d7e8db1033442919c45278f51312b10f4a
View file https://github.com/kumaraditya303/cpython/blob/c4595f67895d614e615cac02c0462bd853f83e05/Lib/test/test_asyncio/test_graph.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157687/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157687/files#diff-be8b668d2f3d075670425801b96a54d7e8db1033442919c45278f51312b10f4a
https://github.com/python/cpython/pull/157687/files#diff-be8b668d2f3d075670425801b96a54d7e8db1033442919c45278f51312b10f4a
https://github.com/python/cpython/pull/157687/files#diff-be8b668d2f3d075670425801b96a54d7e8db1033442919c45278f51312b10f4a
https://github.com/python/cpython/pull/157687/files#diff-be8b668d2f3d075670425801b96a54d7e8db1033442919c45278f51312b10f4a
Lib/test/test_inspect/test_inspect.pyhttps://github.com/python/cpython/pull/157687/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0
View file https://github.com/kumaraditya303/cpython/blob/c4595f67895d614e615cac02c0462bd853f83e05/Lib/test/test_inspect/test_inspect.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157687/{{ revealButtonHref }}
https://github.com/python/cpython/pull/157687/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0
https://github.com/python/cpython/pull/157687/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0
Misc/NEWS.d/next/Core_and_Builtins/2026-09-13-10-00-00.gh-issue-157361.aiterpy.rsthttps://github.com/python/cpython/pull/157687/files#diff-e0feb26096984185a44153514a93fcce1d10c81adebe166c05f6b857870596df
View file https://github.com/kumaraditya303/cpython/blob/c4595f67895d614e615cac02c0462bd853f83e05/Misc/NEWS.d/next/Core_and_Builtins/2026-09-13-10-00-00.gh-issue-157361.aiterpy.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/157687/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/157687/files
Please reload this pagehttps://github.com/python/cpython/pull/157687/files
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.