René's URL Explorer Experiment


Title: gh-153364: Make frame, coroutine, and task-waiter chain walks iterative and bounded by maurycy · Pull Request #153365 · python/cpython · GitHub

Open Graph Title: gh-153364: Make frame, coroutine, and task-waiter chain walks iterative and bounded by maurycy · Pull Request #153365 · python/cpython

X Title: gh-153364: Make frame, coroutine, and task-waiter chain walks iterative and bounded by maurycy · Pull Request #153365 · python/cpython

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

Open Graph Description: The PR hardens and cleans up frame, coro and task-waiter walks a bit, by making them iterative and bounded. I'm addressing two issues here: No walk limits. The walks use pointers read from th...

X Description: The PR hardens and cleans up frame, coro and task-waiter walks a bit, by making them iterative and bounded. I'm addressing two issues here: No walk limits. The walks use pointers read fro...

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

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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:1a034dec-8548-853f-9801-04cc93bffc53
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEB2:2A7C1C:1B83BB9:2450973:6B021FB0
html-safe-nonce5ea507f84c0f37fb5e48d67c442de30eba59baa1519fe2065c680e20f444fbd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUIyOjJBN0MxQzoxQjgzQkI5OjI0NTA5NzM6NkIwMjFGQjAiLCJ2aXNpdG9yX2lkIjoiNTkxNjkxNDM0OTQxMDIzMDE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac299ad61600cfbbaafba2e46addb396c098909dba5418f7024d1b52ac2b0edf6f
hovercard-subject-tagpull_request:4017266582
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/153365/commits
twitter:imagehttps://opengraph.githubassets.com/21b22d6b6524e6021fbf98de3b2cb6a1e94080152f8f9f883029b8a9ba33f5d7/python/cpython/pull/153365
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/21b22d6b6524e6021fbf98de3b2cb6a1e94080152f8f9f883029b8a9ba33f5d7/python/cpython/pull/153365
og:image:altThe PR hardens and cleans up frame, coro and task-waiter walks a bit, by making them iterative and bounded. I'm addressing two issues here: No walk limits. The walks use pointers read from th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaurycy
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/153365/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153365%2Fcommits
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%2F153365%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/153365/commits
Reloadhttps://github.com/python/cpython/pull/153365/commits
Reloadhttps://github.com/python/cpython/pull/153365/commits
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
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
maurycy:tachyon-parse_async_frame_chain-limithttps://github.com/maurycy/cpython/tree/tachyon-parse_async_frame_chain-limit
Conversationhttps://github.com/python/cpython/pull/153365
Commits31 (31)https://github.com/python/cpython/pull/153365/commits
Checkshttps://github.com/python/cpython/pull/153365/checks
Files changedhttps://github.com/python/cpython/pull/153365/files
gh-153364: Make frame, coroutine, and task-waiter chain walks iterative and boundedhttps://github.com/python/cpython/pull/153365/commits#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
maurycy:tachyon-parse_async_frame_chain-limithttps://github.com/maurycy/cpython/tree/tachyon-parse_async_frame_chain-limit
let me declare single limithttps://github.com/python/cpython/pull/153365/commits/4dd6f49c9a8f7147fd4feb6309235632a3261de3
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
4dd6f49https://github.com/python/cpython/pull/153365/commits/4dd6f49c9a8f7147fd4feb6309235632a3261de3
https://github.com/python/cpython/tree/4dd6f49c9a8f7147fd4feb6309235632a3261de3
use our new limit in process_frame_chain()https://github.com/python/cpython/pull/153365/commits/e71aaa566e24844d6a611d72c4b03a015aba3910
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
e71aaa5https://github.com/python/cpython/pull/153365/commits/e71aaa566e24844d6a611d72c4b03a015aba3910
https://github.com/python/cpython/tree/e71aaa566e24844d6a611d72c4b03a015aba3910
add it in parse_async_frame_chain()https://github.com/python/cpython/pull/153365/commits/116da45f642473a69ab724456f3496536dd5e419
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
116da45https://github.com/python/cpython/pull/153365/commits/116da45f642473a69ab724456f3496536dd5e419
https://github.com/python/cpython/tree/116da45f642473a69ab724456f3496536dd5e419
parse_coro_chain()https://github.com/python/cpython/pull/153365/commits/3e12939b13678e46924c4590b00f00dfe1c33e74
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
3e12939https://github.com/python/cpython/pull/153365/commits/3e12939b13678e46924c4590b00f00dfe1c33e74
https://github.com/python/cpython/tree/3e12939b13678e46924c4590b00f00dfe1c33e74
NEWShttps://github.com/python/cpython/pull/153365/commits/c46810c2f24a060948c6f7666a618c8ca5d018cc
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
c46810chttps://github.com/python/cpython/pull/153365/commits/c46810c2f24a060948c6f7666a618c8ca5d018cc
https://github.com/python/cpython/tree/c46810c2f24a060948c6f7666a618c8ca5d018cc
async in the message?https://github.com/python/cpython/pull/153365/commits/dd6e19a851391edf9f2a3d3d7d9e08df768b2ffe
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
dd6e19ahttps://github.com/python/cpython/pull/153365/commits/dd6e19a851391edf9f2a3d3d7d9e08df768b2ffe
https://github.com/python/cpython/tree/dd6e19a851391edf9f2a3d3d7d9e08df768b2ffe
testhttps://github.com/python/cpython/pull/153365/commits/0972e00fd527f424fb6206b36b768ff71018c50a
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
0972e00https://github.com/python/cpython/pull/153365/commits/0972e00fd527f424fb6206b36b768ff71018c50a
https://github.com/python/cpython/tree/0972e00fd527f424fb6206b36b768ff71018c50a
no racehttps://github.com/python/cpython/pull/153365/commits/3c5f78be31cfc3cd0b909f9e8b92088bf33c549a
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
3c5f78bhttps://github.com/python/cpython/pull/153365/commits/3c5f78be31cfc3cd0b909f9e8b92088bf33c549a
https://github.com/python/cpython/tree/3c5f78be31cfc3cd0b909f9e8b92088bf33c549a
process_task_awaited_byhttps://github.com/python/cpython/pull/153365/commits/78c18f95c6dd9d5eba9c3844b1a93f69ab548338
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
78c18f9https://github.com/python/cpython/pull/153365/commits/78c18f95c6dd9d5eba9c3844b1a93f69ab548338
https://github.com/python/cpython/tree/78c18f95c6dd9d5eba9c3844b1a93f69ab548338
process_task_awaited_by limit testhttps://github.com/python/cpython/pull/153365/commits/21d764ef751592db91e6519ec2cfdfd1884cdcca
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
21d764ehttps://github.com/python/cpython/pull/153365/commits/21d764ef751592db91e6519ec2cfdfd1884cdcca
https://github.com/python/cpython/tree/21d764ef751592db91e6519ec2cfdfd1884cdcca
NEWShttps://github.com/python/cpython/pull/153365/commits/000287efb4aea797b8a3e25badc49d5e7b0b2591
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
000287ehttps://github.com/python/cpython/pull/153365/commits/000287efb4aea797b8a3e25badc49d5e7b0b2591
https://github.com/python/cpython/tree/000287efb4aea797b8a3e25badc49d5e7b0b2591
MAX_TASK_WAITER_CHAIN_DEPTHhttps://github.com/python/cpython/pull/153365/commits/353f815e63e3c7c48a02b5647af01e6b915ce1d7
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
353f815https://github.com/python/cpython/pull/153365/commits/353f815e63e3c7c48a02b5647af01e6b915ce1d7
https://github.com/python/cpython/tree/353f815e63e3c7c48a02b5647af01e6b915ce1d7
TASK_WAITER_CHAIN_DEPTH in testhttps://github.com/python/cpython/pull/153365/commits/f66866b073851dfc47e825dccd1d1e1057050323
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
f66866bhttps://github.com/python/cpython/pull/153365/commits/f66866b073851dfc47e825dccd1d1e1057050323
https://github.com/python/cpython/tree/f66866b073851dfc47e825dccd1d1e1057050323
TASK_WAITER_CHAIN_DEPTH 256https://github.com/python/cpython/pull/153365/commits/c9f1ebdd29c58bed29103f01804ab6374011e189
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
c9f1ebdhttps://github.com/python/cpython/pull/153365/commits/c9f1ebdd29c58bed29103f01804ab6374011e189
https://github.com/python/cpython/tree/c9f1ebdd29c58bed29103f01804ab6374011e189
prevent the drift with the commenthttps://github.com/python/cpython/pull/153365/commits/7236ca27e57d5851b405fa47f5a72663b6493f60
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
7236ca2https://github.com/python/cpython/pull/153365/commits/7236ca27e57d5851b405fa47f5a72663b6493f60
https://github.com/python/cpython/tree/7236ca27e57d5851b405fa47f5a72663b6493f60
better naming, better stylehttps://github.com/python/cpython/pull/153365/commits/35fc6c61c505509e8bfbffca5bb5216d1f3d32ff
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
35fc6c6https://github.com/python/cpython/pull/153365/commits/35fc6c61c505509e8bfbffca5bb5216d1f3d32ff
https://github.com/python/cpython/tree/35fc6c61c505509e8bfbffca5bb5216d1f3d32ff
MAX_TASK_WAITER_CHAIN_DEPTH commenthttps://github.com/python/cpython/pull/153365/commits/10149e98acc67d77919b0b716e147dc56981256b
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
10149e9https://github.com/python/cpython/pull/153365/commits/10149e98acc67d77919b0b716e147dc56981256b
https://github.com/python/cpython/tree/10149e98acc67d77919b0b716e147dc56981256b
task-waiter iterative bfs walkhttps://github.com/python/cpython/pull/153365/commits/ef5156320460ab0784f2b630d36651a08cd2a1f6
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
ef51563https://github.com/python/cpython/pull/153365/commits/ef5156320460ab0784f2b630d36651a08cd2a1f6
https://github.com/python/cpython/tree/ef5156320460ab0784f2b630d36651a08cd2a1f6
iterative coro-walkhttps://github.com/python/cpython/pull/153365/commits/b5022ba82443cc608030c5730bd1965d30178e97
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
b5022bahttps://github.com/python/cpython/pull/153365/commits/b5022ba82443cc608030c5730bd1965d30178e97
https://github.com/python/cpython/tree/b5022ba82443cc608030c5730bd1965d30178e97
nicer newshttps://github.com/python/cpython/pull/153365/commits/73b8674214b69ce0463b23ba63e7d48e353e69b5
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
73b8674https://github.com/python/cpython/pull/153365/commits/73b8674214b69ce0463b23ba63e7d48e353e69b5
https://github.com/python/cpython/tree/73b8674214b69ce0463b23ba63e7d48e353e69b5
1 << 14https://github.com/python/cpython/pull/153365/commits/e0607dc3fce4d0892f0bc4e4b8c32c23729d1148
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
e0607dchttps://github.com/python/cpython/pull/153365/commits/e0607dc3fce4d0892f0bc4e4b8c32c23729d1148
https://github.com/python/cpython/tree/e0607dc3fce4d0892f0bc4e4b8c32c23729d1148
commenthttps://github.com/python/cpython/pull/153365/commits/ed731eb06fa786379739fbf3bb3c779a24d344dd
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
ed731ebhttps://github.com/python/cpython/pull/153365/commits/ed731eb06fa786379739fbf3bb3c779a24d344dd
https://github.com/python/cpython/tree/ed731eb06fa786379739fbf3bb3c779a24d344dd
unused read_Py_ssize_thttps://github.com/python/cpython/pull/153365/commits/75a8d8ec7277466d8e2b4fcbdbda64c30797afc2
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
75a8d8ehttps://github.com/python/cpython/pull/153365/commits/75a8d8ec7277466d8e2b4fcbdbda64c30797afc2
https://github.com/python/cpython/tree/75a8d8ec7277466d8e2b4fcbdbda64c30797afc2
fix tombstoneshttps://github.com/python/cpython/pull/153365/commits/c0ce737fc677c7f6384abaa83bca2d5d71caeb08
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
c0ce737https://github.com/python/cpython/pull/153365/commits/c0ce737fc677c7f6384abaa83bca2d5d71caeb08
https://github.com/python/cpython/tree/c0ce737fc677c7f6384abaa83bca2d5d71caeb08
simplifyhttps://github.com/python/cpython/pull/153365/commits/f3c80d49dfb0fa525b3e56bae281f3dd1611551d
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
f3c80d4https://github.com/python/cpython/pull/153365/commits/f3c80d49dfb0fa525b3e56bae281f3dd1611551d
https://github.com/python/cpython/tree/f3c80d49dfb0fa525b3e56bae281f3dd1611551d
correct msghttps://github.com/python/cpython/pull/153365/commits/4fd4027e4586458faa197056643a25899f960e06
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
4fd4027https://github.com/python/cpython/pull/153365/commits/4fd4027e4586458faa197056643a25899f960e06
https://github.com/python/cpython/tree/4fd4027e4586458faa197056643a25899f960e06
better testhttps://github.com/python/cpython/pull/153365/commits/f2530ec6b2b8d5e5259e5d22f0c6a23200433389
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
f2530echttps://github.com/python/cpython/pull/153365/commits/f2530ec6b2b8d5e5259e5d22f0c6a23200433389
https://github.com/python/cpython/tree/f2530ec6b2b8d5e5259e5d22f0c6a23200433389
news for tombstoneshttps://github.com/python/cpython/pull/153365/commits/0ab3342504de9d37e96506355dfa95b19c4f0df5
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
0ab3342https://github.com/python/cpython/pull/153365/commits/0ab3342504de9d37e96506355dfa95b19c4f0df5
https://github.com/python/cpython/tree/0ab3342504de9d37e96506355dfa95b19c4f0df5
left-over from when testing buggy versionhttps://github.com/python/cpython/pull/153365/commits/2a444ecb9a2d0c85387169e5bc38a78637d81d78
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
2a444echttps://github.com/python/cpython/pull/153365/commits/2a444ecb9a2d0c85387169e5bc38a78637d81d78
https://github.com/python/cpython/tree/2a444ecb9a2d0c85387169e5bc38a78637d81d78
redundant new linehttps://github.com/python/cpython/pull/153365/commits/ed95a2e0333193b2992caed5252a3575a2f1f60b
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
ed95a2ehttps://github.com/python/cpython/pull/153365/commits/ed95a2e0333193b2992caed5252a3575a2f1f60b
https://github.com/python/cpython/tree/ed95a2e0333193b2992caed5252a3575a2f1f60b
Merge branch 'main' into tachyon-parse_async_frame_chain-limithttps://github.com/python/cpython/pull/153365/commits/a1221fdb56dd5723715d190369eed89a1b97edc9
https://github.com/maurycy
maurycyhttps://github.com/python/cpython/commits?author=maurycy
a1221fdhttps://github.com/python/cpython/pull/153365/commits/a1221fdb56dd5723715d190369eed89a1b97edc9
https://github.com/python/cpython/tree/a1221fdb56dd5723715d190369eed89a1b97edc9
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.