| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f0601918-a63f-bf8d-f32b-5c1f3d309ea3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9A9E:25C698:190EEE:21AEDF:69696832 |
| html-safe-nonce | f668188def53dc1e70da9ecdbe95578dbf483e392f6619e4120ba70c3e106ed1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTlFOjI1QzY5ODoxOTBFRUU6MjFBRURGOjY5Njk2ODMyIiwidmlzaXRvcl9pZCI6IjEwMjU4OTc5NDMwODU0NDMxMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bbef6ce7beb0362aab1fffe9d4bc05365ba2018c8f547fb78b2c8949247be637 |
| hovercard-subject-tag | pull_request:1117190206 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/99313/files |
| twitter:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| og:image:alt | I apologize for the mess that generate_cases.py has become. I promise I will clean it up in the next PR.
This PR is a big step forwards though -- it supports cache effects and implements those for ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/99313/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99313%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F99313%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/99313/files |
| Reload | https://github.com/python/cpython/pull/99313/files |
| Reload | https://github.com/python/cpython/pull/99313/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
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 page | https://github.com/python/cpython/pull/99313/files |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gvanrossum | https://github.com/gvanrossum |
| python:main | https://github.com/python/cpython/tree/main |
| gvanrossum:cache-effects | https://github.com/gvanrossum/cpython/tree/cache-effects |
|
Conversation
35
| https://github.com/python/cpython/pull/99313 |
|
Commits
22
| https://github.com/python/cpython/pull/99313/commits |
|
Checks
0
| https://github.com/python/cpython/pull/99313/checks |
|
Files changed
| https://github.com/python/cpython/pull/99313/files |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
GH-98831: Implement basic cache effects
| https://github.com/python/cpython/pull/99313/files#top |
|
Show all changes
22 commits
| https://github.com/python/cpython/pull/99313/files |
|
9f15c4b
Support simple cache effects
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/9f15c4b85931eb4086c40571e941e1348232eb3a |
|
6189043
More BINARY_OP instructions
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/6189043d9aca8b209a779544f27dc3d2167f2065 |
|
f5e1aed
Merge remote-tracking branch 'origin/main' into cache-effects
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/f5e1aedba49ab25a41d14c5d1d74696117cbff61 |
|
a8d608d
Tweak dummy definitions in bytecodes.c after merge
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/a8d608d66fd11ee3fd54b3b07a1d85b0e03df93e |
|
4ee85e7
gh-99300: Use Py_NewRef() in Objects/ directory (#99332)
vstinner Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/4ee85e7b555691d1ae69906c67d6863c8a32464f |
|
873da31
gh-99300: Use Py_NewRef() in Objects/dictobject.c (#99333)
vstinner Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/873da3158804d77d5d487af0d5d61b4f5d45f5e1 |
|
e0ab5b8
gh-90110: Update the C-analyzer Tool (gh-99307)
ericsnowcurrently Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/e0ab5b80e42f96dbecadadbc202c792b78540824 |
|
882fdec
gh-99277: remove older version of `get_write_buffer_limits` (#99280)
csuriano23 Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/882fdecbf824880e41ec67b89eee314186ab4b55 |
|
8226fb9
gh-99204: Calculate base_executable by alternate names in POSIX venvs…
vfazio Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/8226fb957c88b879f9dc688626f33e8fbae544ac |
|
1aa0124
GH-99298: Don't perform jumps before error handling (GH-99299)
brandtbucher Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/1aa012429d46e5b575fb939e846903f7f0c00dcb |
|
d094e42
GH-98831: Remove all remaining DISPATCH() calls from bytecodes.c (#99…
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/d094e422e99492f62d6b45057de00fb281480112 |
|
d3d907a
Remaining BINARY_OP family members
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/d3d907a455ab7059b66bcf85d150dbf818683328 |
|
0339a67
Uniformly skip 'unused' effects
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/0339a670f600b1913300c196829a1a6d94a59e72 |
|
f3e7dd6
Remove superfluous asserts; fix one 'is not'
gvanrossum Nov 10, 2022
| https://github.com/python/cpython/pull/99313/commits/f3e7dd69b3c943dd8ae7535a4daa3d534ae56cc3 |
|
e3ff6ac
Make BINARY_OP result unused
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/e3ff6ac9cf4bcce245fc90260559bb694cea71f2 |
|
3db443a
Fix parser for family()
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/3db443a7eb70c140b2c0450721e86660f17e8e3f |
|
c58a85a
Check family consistency
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/c58a85a3def2aa776d0e93df4c5fc0bdec14baf6 |
|
756a41b
Add first family (binary_op)
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/756a41bfa5f9ea44c0bb5952e939941be933cdb4 |
|
48400ac
Add assert() to double-check cache struct size
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/48400aceabe0891e6b1bf198b98436bbd9573734 |
|
433243a
Merge commit '00ee6d506e' into cache-effects
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/433243a5aa7e0e4bed5f358963a22ee6c0625e63 |
|
3d51484
Merge commit '694cdb24a6' into cache-effects
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/3d51484829cdb4719b6d9376779bfa55713eb94e |
|
4d42a0a
Merge remote-tracking branch 'origin/main' into cache-effects
gvanrossum Nov 11, 2022
| https://github.com/python/cpython/pull/99313/commits/4d42a0a09fb1166f403d02a4941734b65caa9812 |
|
Clear filters
| https://github.com/python/cpython/pull/99313/files |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
bytecodes.c
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
generated_cases.c.h
| https://github.com/python/cpython/pull/99313/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
generate_cases.py
| https://github.com/python/cpython/pull/99313/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 |
|
parser.py
| https://github.com/python/cpython/pull/99313/files#diff-bc6851ce97efb76ebfd0bc2f37d62ac0902080d0749be72d29d978f0ee2fa0e4 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L221 |
| Python/bytecodes.c | https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
View file
| https://github.com/gvanrossum/cpython/blob/4d42a0a09fb1166f403d02a4941734b65caa9812/Python/bytecodes.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99313/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| brandtbucher | https://github.com/brandtbucher |
| Nov 16, 2022 | https://github.com/python/cpython/pull/99313/files#r1023420933 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| brandtbucher | https://github.com/brandtbucher |
| Nov 16, 2022 | https://github.com/python/cpython/pull/99313/files#r1023420590 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
| brandtbucher | https://github.com/brandtbucher |
| Nov 16, 2022 | https://github.com/python/cpython/pull/99313/files#r1023418681 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
| https://github.com/python/cpython/pull/99313/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| Python/generated_cases.c.h | https://github.com/python/cpython/pull/99313/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
View file
| https://github.com/gvanrossum/cpython/blob/4d42a0a09fb1166f403d02a4941734b65caa9812/Python/generated_cases.c.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
| Please reload this page | https://github.com/python/cpython/pull/99313/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |