René's URL Explorer Experiment


Title: gh-106581: Start projecting through calls by gvanrossum · Pull Request #107793 · python/cpython · GitHub

Open Graph Title: gh-106581: Start projecting through calls by gvanrossum · Pull Request #107793 · python/cpython

X Title: gh-106581: Start projecting through calls by gvanrossum · Pull Request #107793 · python/cpython

Description: For now, builds on gh-107760. Add function-by-version cache (and redid it using borrowed refs) Double max trace length to 64 Trace into function calls Support RESUME op in Tier 2 TODO: Project through RETURN_VALUE (see #107925) Add back _Py_EnterRecursivePy (see #107760) and _Py_LeaveRecursiveCallPy (see #107925) Issue: gh-106581

Open Graph Description: For now, builds on gh-107760. Add function-by-version cache (and redid it using borrowed refs) Double max trace length to 64 Trace into function calls Support RESUME op in Tier 2 TODO: Project ...

X Description: For now, builds on gh-107760. Add function-by-version cache (and redid it using borrowed refs) Double max trace length to 64 Trace into function calls Support RESUME op in Tier 2 TODO: Project ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:0b5bafdd-0eb9-0bd6-b433-157c06d572c3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC56:E0143:5A8CA2D:7C6538F:699615F2
html-safe-nonce29b0a373324e276bec041c9deb75b41b6a049e903e273f865f6f67cc3975f099
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzU2OkUwMTQzOjVBOENBMkQ6N0M2NTM4Rjo2OTk2MTVGMiIsInZpc2l0b3JfaWQiOiI0MzkzMDM3NjkxOTUwMDc3NDI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac30c9ff90e845d0629c90c515fb641bcf6a80a17a379bb8738ddc4d509f5ef7ff
hovercard-subject-tagpull_request:1467932642
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/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
twitter:imagehttps://avatars.githubusercontent.com/u/2894642?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2894642?s=400&v=4
og:image:altFor now, builds on gh-107760. Add function-by-version cache (and redid it using borrowed refs) Double max trace length to 64 Trace into function calls Support RESUME op in Tier 2 TODO: Project ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7490a2fd98baca866acf503b81aa249491b42e5b4bab7f7a2801be81175c8845
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-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release48a904441630875f5985de713035046dc65cc94c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107793%2Fcommits%2F1e62876f7bf3ced0a224c95b4d5c96af5f531227
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%2F107793%2Fcommits%2F1e62876f7bf3ced0a224c95b4d5c96af5f531227
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
Reloadhttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
Reloadhttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.6k 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 0 https://github.com/python/cpython/security
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
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
gvanrossum:project-callshttps://github.com/gvanrossum/cpython/tree/project-calls
Conversation 3 https://github.com/python/cpython/pull/107793
Commits 26 https://github.com/python/cpython/pull/107793/commits
Checks 0 https://github.com/python/cpython/pull/107793/checks
Files changed https://github.com/python/cpython/pull/107793/files
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
gh-106581: Start projecting through calls https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#top
Show all changes 26 commits https://github.com/python/cpython/pull/107793/files
56133bb Split `CALL_PY_EXACT_ARGS` into uops gvanrossum Aug 5, 2023 https://github.com/python/cpython/pull/107793/commits/56133bb0184e5d2b8bf5809b648aa512693a0a02
907ff95 Fix merge so it works again (I think) gvanrossum Aug 9, 2023 https://github.com/python/cpython/pull/107793/commits/907ff95317c8d7b9221ce95c8823ed8d2cf4861c
2c6be6d Split into finer-grained uops gvanrossum Aug 9, 2023 https://github.com/python/cpython/pull/107793/commits/2c6be6d65290d85a1c43f4491202dbbbb1e38778
6d78ff2 Fix type error in stacking.py gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/6d78ff2926d558de0508be62c8f23c99962202b5
0d8e66c Add test gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/0d8e66c91da65571bd990a3cf9e092fa68d264fb
b75f30e Add comment explaining _PUSH_FRAME's unused output effect gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/b75f30eb37c8ac68a014a7a3318e549e9e4d4ea3
61c2822 Make PUSH_FRAME special case a little less myterious gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/61c2822cde6b709855c1052df38ed05cb059b7af
f73ea90 Rename Instruction.write to write_case_body gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/f73ea90f72f9eeef25f6eb9ada1b83a6cbca54e1
12910fc Move next_instr update to a more logical place gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/12910fcd18be115e99a7575d38c5e7967a97fe45
2fafa2c Don't recompute macro cache offset gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/2fafa2c16116af63834792c06ba88d8f2c22043f
2717b07 Fold and refactor long line in stacking.py gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/2717b0738b3c25b996288f19579d125c9ffda830
e487908 Fold long lines in generate_cases.py gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/e48790885a448f1065411ad0eda0e69ca4896808
1d549af Don't emit static assert to executor cases gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/1d549af5f4b0d28f22da4561ba0d1ba16e226823
f40fb1f Factor away write_case_body (formerly Instruction.write) gvanrossum Aug 10, 2023 https://github.com/python/cpython/pull/107793/commits/f40fb1f82267bcc39b0ded8b5e1f2f0b731a24f9
4f6f8f8 Fold long lines gvanrossum Aug 11, 2023 https://github.com/python/cpython/pull/107793/commits/4f6f8f8f44761ae3945cc873497bbfe2ec07102b
6facc8d Make less of a special case of _PUSH_FRAME gvanrossum Aug 11, 2023 https://github.com/python/cpython/pull/107793/commits/6facc8dd838998999c117ddf8c225ad09bebfe47
94630d4 Stop special-casing _PUSH_FRAME altogether gvanrossum Aug 11, 2023 https://github.com/python/cpython/pull/107793/commits/94630d49b3283657953d44b7fbe2a8a36d624721
cf8e2c0 Call _Py_EnterRecursivePy in _FRAME_PUSH gvanrossum Aug 15, 2023 https://github.com/python/cpython/pull/107793/commits/cf8e2c02d191d3828366b24c81ee4b4c213d2ef0
1e62876 Merge remote-tracking branch 'upstream/main' into call-uops gvanrossum Aug 15, 2023 https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
337a2eb Add function-by-version cache gvanrossum Aug 8, 2023 https://github.com/python/cpython/pull/107793/commits/337a2ebc12da34301b4ce77bfcaed41dcffbfe7e
0218222 Trace into function calls gvanrossum Aug 8, 2023 https://github.com/python/cpython/pull/107793/commits/0218222af8b8c964c7bbef8fe54d475aa75f2aff
ab74ef0 Make RESUME a viable uop gvanrossum Aug 12, 2023 https://github.com/python/cpython/pull/107793/commits/ab74ef0df79b8b3aa9bbcf360b538d4b5f07a603
7e6ef78 Clear func_version_cache in interpreter_clear() gvanrossum Aug 12, 2023 https://github.com/python/cpython/pull/107793/commits/7e6ef784ab805e08e00560f17a6fc71ed1bd093d
1200014 Add a small essay on function and code versions gvanrossum Aug 12, 2023 https://github.com/python/cpython/pull/107793/commits/120001477f54b5ed22cd362de09e63bef0d56fc5
ece96f4 Move function cache clearing earlier in finalization gvanrossum Aug 12, 2023 https://github.com/python/cpython/pull/107793/commits/ece96f4a22e19c9186c0247df332c136c1836587
b408b2b Cache borrowed references, cleared in func_dealloc gvanrossum Aug 13, 2023 https://github.com/python/cpython/pull/107793/commits/b408b2ba15324d9f9bae25e87d3c20893a57e328
Clear filters https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
pycore_opcode_metadata.h https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-72bc4c0445516cc3eabd536220b2459617491ffaabbdb8a7c5381f36c991e378
abstract_interp_cases.c.h https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-43ef12edb047baacf1e07fe1b9ea5ce4c695f53e5d5dcece81e826b221b04033
bytecodes.c https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Prev https://github.com/python/cpython/pull/107793/commits/cf8e2c02d191d3828366b24c81ee4b4c213d2ef0
Next https://github.com/python/cpython/pull/107793/commits/337a2ebc12da34301b4ce77bfcaed41dcffbfe7e
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
https://github.com/gvanrossum
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
Include/internal/pycore_opcode_metadata.hhttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-72bc4c0445516cc3eabd536220b2459617491ffaabbdb8a7c5381f36c991e378
View file https://github.com/gvanrossum/cpython/blob/1e62876f7bf3ced0a224c95b4d5c96af5f531227/Include/internal/pycore_opcode_metadata.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
Python/abstract_interp_cases.c.hhttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-43ef12edb047baacf1e07fe1b9ea5ce4c695f53e5d5dcece81e826b221b04033
View file https://github.com/gvanrossum/cpython/blob/1e62876f7bf3ced0a224c95b4d5c96af5f531227/Python/abstract_interp_cases.c.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L222
Python/bytecodes.chttps://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
View file https://github.com/gvanrossum/cpython/blob/1e62876f7bf3ced0a224c95b4d5c96af5f531227/Python/bytecodes.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/107793/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/107793/commits/1e62876f7bf3ced0a224c95b4d5c96af5f531227#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
full changes herehttps://github.com/python/cpython/commit/1e62876f7bf3ced0a224c95b4d5c96af5f531227
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.