René's URL Explorer Experiment


Title: bpo-45256: Don't track the exact depth of each `InterpreterFrame` by brandtbucher · Pull Request #30372 · python/cpython · GitHub

Open Graph Title: bpo-45256: Don't track the exact depth of each `InterpreterFrame` by brandtbucher · Pull Request #30372 · python/cpython

X Title: bpo-45256: Don't track the exact depth of each `InterpreterFrame` by brandtbucher · Pull Request #30372 · python/cpython

Description: We only really care whether or not an exiting frame is the "root" of the current CFrame, which a boolean value can track more efficiently. (In fact, the current code is buggy, and doesn't even main...

Open Graph Description: We only really care whether or not an exiting frame is the "root" of the current CFrame, which a boolean value can track more efficiently. (In fact, the current code is buggy, and doesn&#...

X Description: We only really care whether or not an exiting frame is the "root" of the current CFrame, which a boolean value can track more efficiently. (In fact, the current code is buggy, and...

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

X: @github

direct link

Domain: github.com

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:330c3059-7fbb-1f42-09d6-f02b78cea4a9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB398:30E210:7E1C:A807:696A08E4
html-safe-nonceba950ad388b8ea652f60768027464d08738e3318e0946037633d88e85bd32111
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzk4OjMwRTIxMDo3RTFDOkE4MDc6Njk2QTA4RTQiLCJ2aXNpdG9yX2lkIjoiMTU1NDI2NzM0MDk4NTIwNzAxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac12052ce8e9dcac7ded5048bd3579246fe5eb0ccbbf405408fc738cde63ddb368
hovercard-subject-tagpull_request:813431513
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/30372/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/657c0d24f093912083fcd3aee5b9e802fbe1f48f275deed479a7e34136ad234c/python/cpython/pull/30372
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/657c0d24f093912083fcd3aee5b9e802fbe1f48f275deed479a7e34136ad234c/python/cpython/pull/30372
og:image:altWe only really care whether or not an exiting frame is the "root" of the current CFrame, which a boolean value can track more efficiently. (In fact, the current code is buggy, and doesn&#...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrandtbucher
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
turbo-cache-controlno-preview
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/30372#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30372
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30372
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
Reloadhttps://github.com/python/cpython/pull/30372
Reloadhttps://github.com/python/cpython/pull/30372
Reloadhttps://github.com/python/cpython/pull/30372
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/30372
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/30372
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
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
Jump to bottomhttps://github.com/python/cpython/pull/30372#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
brandtbucher:frame-depthhttps://github.com/brandtbucher/cpython/tree/frame-depth
bpo-45256: Don't track the exact depth of each InterpreterFrame https://github.com/python/cpython/pull/30372#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
brandtbucher:frame-depthhttps://github.com/brandtbucher/cpython/tree/frame-depth
Conversation 9 https://github.com/python/cpython/pull/30372
Commits 7 https://github.com/python/cpython/pull/30372/commits
Checks 0 https://github.com/python/cpython/pull/30372/checks
Files changed https://github.com/python/cpython/pull/30372/files
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jan 3, 2022https://github.com/python/cpython/pull/30372#issue-1092846150
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://bugs.python.org/issue45256https://bugs.python.org/issue45256
Please reload this pagehttps://github.com/python/cpython/pull/30372
brandtbucherhttps://github.com/brandtbucher
January 3, 2022 13:24https://github.com/python/cpython/pull/30372#commits-pushed-2713a36
https://github.com/brandtbucher
Stop tracking the exact depth of each framehttps://github.com/python/cpython/pull/30372/commits/2713a36b526f584483b7285f9a514d512e24f1ca
2713a36https://github.com/python/cpython/pull/30372/commits/2713a36b526f584483b7285f9a514d512e24f1ca
https://github.com/brandtbucher
Clean up commenthttps://github.com/python/cpython/pull/30372/commits/439a0c23a3d8714306a9071985cdbcc192962124
439a0c2https://github.com/python/cpython/pull/30372/commits/439a0c23a3d8714306a9071985cdbcc192962124
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jan 3, 2022https://github.com/python/cpython/pull/30372#event-5837322693
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
markshannonhttps://github.com/markshannon
pablogsalhttps://github.com/pablogsal
January 3, 2022 21:54https://github.com/python/cpython/pull/30372#event-5837322697
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jan 3, 2022https://github.com/python/cpython/pull/30372#event-5837322816
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 3, 2022https://github.com/python/cpython/pull/30372#event-5837322906
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jan 3, 2022 https://github.com/python/cpython/pull/30372#pullrequestreview-843081660
View reviewed changes https://github.com/python/cpython/pull/30372/files/439a0c23a3d8714306a9071985cdbcc192962124
pablogsalhttps://github.com/pablogsal
https://github.com/python/cpython/pull/30372#pullrequestreview-843081660
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
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 3, 2022https://github.com/python/cpython/pull/30372#event-5837421076
brandtbucherhttps://github.com/brandtbucher
January 3, 2022 15:06https://github.com/python/cpython/pull/30372#commits-pushed-6037cba
https://github.com/brandtbucher
Fix test for sizeof(frame)https://github.com/python/cpython/pull/30372/commits/6037cba2db8318c90e1948b71f2a6100af4feae8
6037cbahttps://github.com/python/cpython/pull/30372/commits/6037cba2db8318c90e1948b71f2a6100af4feae8
https://github.com/brandtbucher
Fix test for sizeof(generator)https://github.com/python/cpython/pull/30372/commits/323da04925bb0729d1d7c53925dae5f9666596c5
323da04https://github.com/python/cpython/pull/30372/commits/323da04925bb0729d1d7c53925dae5f9666596c5
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 4, 2022 https://github.com/python/cpython/pull/30372#pullrequestreview-843427008
View reviewed changes https://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5
Include/internal/pycore_frame.hhttps://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4
markshannonhttps://github.com/markshannon
Jan 4, 2022https://github.com/python/cpython/pull/30372#discussion_r777986059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
arhadthedevhttps://github.com/arhadthedev
Jan 4, 2022https://github.com/python/cpython/pull/30372#discussion_r778000097
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/30372
markshannonhttps://github.com/markshannon
Jan 4, 2022https://github.com/python/cpython/pull/30372#discussion_r778005480
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
pablogsalhttps://github.com/pablogsal
Jan 4, 2022https://github.com/python/cpython/pull/30372#discussion_r778085225
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
brandtbucherhttps://github.com/brandtbucher
Jan 4, 2022https://github.com/python/cpython/pull/30372#discussion_r778328900
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 4, 2022 https://github.com/python/cpython/pull/30372#pullrequestreview-843429833
View reviewed changes https://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5
Include/internal/pycore_frame.hhttps://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4
markshannonhttps://github.com/markshannon
Jan 4, 2022https://github.com/python/cpython/pull/30372#discussion_r777988044
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 4, 2022 https://github.com/python/cpython/pull/30372#pullrequestreview-843430480
View reviewed changes https://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5
markshannonhttps://github.com/markshannon
https://github.com/python/cpython/pull/30372#pullrequestreview-843430480
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 4, 2022https://github.com/python/cpython/pull/30372#event-5839664607
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 4, 2022https://github.com/python/cpython/pull/30372#issuecomment-1004706808
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Jan 4, 2022https://github.com/python/cpython/pull/30372#event-5839664631
brandtbucherhttps://github.com/brandtbucher
January 4, 2022 11:10https://github.com/python/cpython/pull/30372#commits-pushed-1ab3a8f
https://github.com/brandtbucher
Catch up with mainhttps://github.com/python/cpython/pull/30372/commits/1ab3a8f905f1d29c56ff4b3f89e7d83f2b31cfce
1ab3a8fhttps://github.com/python/cpython/pull/30372/commits/1ab3a8f905f1d29c56ff4b3f89e7d83f2b31cfce
https://github.com/brandtbucher
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/30372/commits/98c58f3b8af7fd1a3ca630a5bf0e5da40998d462
98c58f3https://github.com/python/cpython/pull/30372/commits/98c58f3b8af7fd1a3ca630a5bf0e5da40998d462
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
markshannonhttps://github.com/markshannon
January 4, 2022 19:59https://github.com/python/cpython/pull/30372#event-5842574873
https://github.com/brandtbucher
Don't bother unsetting frame->is_entryhttps://github.com/python/cpython/pull/30372/commits/369983b9a3e3f3774c6e5f49ee3e1eb42a1af569
369983bhttps://github.com/python/cpython/pull/30372/commits/369983b9a3e3f3774c6e5f49ee3e1eb42a1af569
https://github.com/markshannon
markshannonhttps://github.com/markshannon
332e6b9https://github.com/python/cpython/commit/332e6b972567debfa9d8f3f9a4a966c7ad15eec9
Jan 5, 2022https://github.com/python/cpython/pull/30372#event-5845856038
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Jan 5, 2022https://github.com/python/cpython/pull/30372#event-5845856222
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
July 21, 2022 19:53https://github.com/python/cpython/pull/30372#event-7041060761
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 10, 2022 https://github.com/python/cpython/pull/30372#ref-issue-1199065582
Remove the usage of the C stack in Python to Python calls #89419 https://github.com/python/cpython/issues/89419
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%2F30372
https://github.com/arhadthedev
arhadthedev https://github.com/arhadthedev
https://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/30372/files/323da04925bb0729d1d7c53925dae5f9666596c5
https://github.com/markshannon
markshannon https://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/30372
https://github.com/brandtbucher
https://github.com/bedevere-bot
https://github.com/arhadthedev
https://github.com/markshannon
https://github.com/pablogsal
https://github.com/the-knights-who-say-ni
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.