| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1b80f666-2067-8f85-da62-9ab5ebc10d33 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C578:96FA2:12B7563:19D70CA:6969FF0A |
| html-safe-nonce | a2e8fc2c0860915bb3a0d9a6ebbd9a5ad87a94ae7b8ecf4c75f6579cd1117919 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTc4Ojk2RkEyOjEyQjc1NjM6MTlENzBDQTo2OTY5RkYwQSIsInZpc2l0b3JfaWQiOiIxODkyMjM0NTEyMTY2NDIwMjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f7bc08b9d509a64b2fecc9c4efd154486fbca66ab17ce119792d4f0755b1eb23 |
| hovercard-subject-tag | pull_request:1135546684 |
| 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/99764/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 | This started out as just converting a bunch of instructions (a few small families) to the new format. I then ended up adding:
Support for typed stack effects (e.g. jump: size_t)
Some general refac... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/99764/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99764%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%2F99764%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/99764/files |
| Reload | https://github.com/python/cpython/pull/99764/files |
| Reload | https://github.com/python/cpython/pull/99764/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/99764/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/99764/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:typed-stack-effects | https://github.com/gvanrossum/cpython/tree/typed-stack-effects |
|
Conversation
49
| https://github.com/python/cpython/pull/99764 |
|
Commits
34
| https://github.com/python/cpython/pull/99764/commits |
|
Checks
0
| https://github.com/python/cpython/pull/99764/checks |
|
Files changed
| https://github.com/python/cpython/pull/99764/files |
| Please reload this page | https://github.com/python/cpython/pull/99764/files |
|
GH-98831: Typed stack effects, and more instructions converted
| https://github.com/python/cpython/pull/99764/files#top |
|
Show all changes
34 commits
| https://github.com/python/cpython/pull/99764/files |
|
6860ed7
Make BINARY_OP_INPLACE_ADD_UNICODE a legit super instruction
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99764/commits/6860ed7b5c42ad61426d750d803f306ebeb809e9 |
|
dcba32e
COMPARE_OP
gvanrossum Nov 24, 2022
| https://github.com/python/cpython/pull/99764/commits/dcba32eeccf5a613bc5a2db5595d94591fced441 |
|
30cb8cd
COMPARE_OP_FLOAT_JUMP
gvanrossum Nov 24, 2022
| https://github.com/python/cpython/pull/99764/commits/30cb8cd5bd0c455ded907ea19c2aff60622a8fee |
|
6af0a5d
COMPARE_OP_INT_JUMP
gvanrossum Nov 24, 2022
| https://github.com/python/cpython/pull/99764/commits/6af0a5df1a2c7c0d88ef8ae7a616110a9864b140 |
|
039efbf
COMPARE_OP_STR_JUMP
gvanrossum Nov 24, 2022
| https://github.com/python/cpython/pull/99764/commits/039efbf8406f3259b7af7f9d3dc6f18803bb899b |
|
2fd8822
Support typed stack effects
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/2fd8822cb0d14a3461d3176c200d3f9f28323a1a |
|
14bbd50
Refactor common code of analyze_{super,macro}
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/14bbd5065c964870e63a5acc845ec7b2733e148d |
|
00a2495
Reverse temporary variable numbering
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/00a2495a2db8edb514c1ef6165a74dc1cc88325e |
|
f01dff5
STORE_ATTR
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/f01dff55af833e668729357ccca58c1632db1e11 |
|
71ee089
DELETE_ATTR
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/71ee0894f0f666394baeac93472c35a64ba2aadf |
|
966da1a
STORE_GLOBAL
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/966da1a1bec28bdad7fc80290ec5cacb6201bdbc |
|
7c94591
STORE_ATTR_INSTANCE_VALUE
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/7c945919a7438cbd84cd16343061a35eb6a0e7e8 |
|
2c76046
STORE_ATTR_WITH_HINT
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/2c7604677fdb015f590d739d9423282cf5675d31 |
|
d0f29f8
STORE_ATTR_SLOT, and complete the store_attr family
gvanrossum Nov 25, 2022
| https://github.com/python/cpython/pull/99764/commits/d0f29f85960ff056e9791db9b98aaeca9c891020 |
|
001c418
Complete the store_subscr family: STORE_SUBSCR{,DICT,LIST_INT}
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/001c4180d555f01346f03031ab8f312925dc29ad |
|
05caa7e
DELETE_SUBSCR
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/05caa7e07d784bf771f4c81fb188c8864fc681c8 |
|
8d445ae
PRINT_EXPR
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/8d445ae7a78d5a3411a7411e0c38c06b5d34e5a5 |
|
c1f3034
INTERPRETER_EXIT (a bit weird, ends in return)
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/c1f303487c1b11ff875f489bb9e3218e414a4d6c |
|
e2f376b
RETURN_VALUE
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/e2f376ba9e346cb44fda277d4fd0bf9a30420610 |
|
53c204e
GET_AITER (had to restructure it some)
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/53c204e0d8e222d18a3ff9ff2bc27eefed411f75 |
|
e0ba8bf
Typo in TODO comment
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/e0ba8bf29eab0c3027be0bd77bf5572c3be97e7e |
|
f7a54d7
Emit PREDICT() macros right before DISPATCH()
gvanrossum Nov 28, 2022
| https://github.com/python/cpython/pull/99764/commits/f7a54d774ac1597dc77b9fa22820ac04b4ff148d |
|
6ae9e6e
LIST_APPEND (a bit unhappy with it)
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/6ae9e6eb1d3d9901ae2f36532692a1d85df42c13 |
|
34aa393
SET_ADD (also a bit unhappy with it)
gvanrossum Nov 26, 2022
| https://github.com/python/cpython/pull/99764/commits/34aa393a645286d0cc44cd36eac3e9614bcbe2ed |
|
e144db3
Move all cache effects to the front of the effects list
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/e144db3c56f14dd93ed41e02ea7278d15373e15c |
|
029bf07
Rename _JUMP_ON_SIGN to _JUMP_IF
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/029bf073644a87bb2d5b52c9ac1fcd725f2d172c |
|
fa3135f
Change ERROR_IF(err != 0, ...) to ERROR_IF(err, ...)
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/fa3135f97309aa28361ab6897bca311538587e56 |
|
445f20b
Change ERROR_IF(1, ...) to ERROR_IF(true, ...)
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/445f20b3025856ce9441a8476ea98e399c9c2fca |
|
32b4ac0
Revert "Make BINARY_OP_INPLACE_ADD_UNICODE a legit super instruction"
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/32b4ac0ea05dadfffdf07c504dabad7b8961bb47 |
|
0ef4da7
Emit PEEKs in super/macro instructions in correct order
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/0ef4da7ee8215dea0d920ffdc2fcae322c0f765a |
|
7d19466
Use JUMPBY(n) instead of next_instr += n
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/7d1946687a8b26acafe7fd45687d008077007929 |
|
99e8ec6
Rename local variables type to typ
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/99e8ec6747f551a03d5b6a9e464ea317f3ef51a3 |
|
c08dbdb
Remove unused op names
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/c08dbdb85fa06507f43fde57c36b45f22b3139b7 |
|
c6dfeec
Merge branch 'main' into typed-stack-effects
gvanrossum Dec 8, 2022
| https://github.com/python/cpython/pull/99764/commits/c6dfeec4890fb48bbde2a5fd833ac38d04bb9912 |
|
Clear filters
| https://github.com/python/cpython/pull/99764/files |
| Please reload this page | https://github.com/python/cpython/pull/99764/files |
| Please reload this page | https://github.com/python/cpython/pull/99764/files |
|
bytecodes.c
| https://github.com/python/cpython/pull/99764/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
generated_cases.c.h
| https://github.com/python/cpython/pull/99764/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
generate_cases.py
| https://github.com/python/cpython/pull/99764/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 |
|
parser.py
| https://github.com/python/cpython/pull/99764/files#diff-bc6851ce97efb76ebfd0bc2f37d62ac0902080d0749be72d29d978f0ee2fa0e4 |
| Please reload this page | https://github.com/python/cpython/pull/99764/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 |