| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:225ca4af-6b6b-82c1-4257-332d600cf540 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D834:279B15:109B508:16D6CFA:6969F5E0 |
| html-safe-nonce | e81ce87fb2d727c126f9036e9afd880146072915ae18312a1ad7755560b8e8a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODM0OjI3OUIxNToxMDlCNTA4OjE2RDZDRkE6Njk2OUY1RTAiLCJ2aXNpdG9yX2lkIjoiMzU4NzYwMjk2ODg0OTU0NDY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d5bfb8cd296bcbfe433c1992e17b90d7f6afffb26c6394bb312e228ec78e14cb |
| hovercard-subject-tag | pull_request:1122086573 |
| 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/99495/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 | One deviation from the DSL spec: macro can build on both inst and op.
Also some other random improvements:
Convert WITH_EXCEPT_START
Fix lexer to balk at unrecognized characters, e.g. '@'
... |
| 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/99495/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99495%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%2F99495%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/99495/files |
| Reload | https://github.com/python/cpython/pull/99495/files |
| Reload | https://github.com/python/cpython/pull/99495/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/99495/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/99495/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:macro-ops | https://github.com/gvanrossum/cpython/tree/macro-ops |
|
Conversation
16
| https://github.com/python/cpython/pull/99495 |
|
Commits
21
| https://github.com/python/cpython/pull/99495/commits |
|
Checks
0
| https://github.com/python/cpython/pull/99495/checks |
|
Files changed
| https://github.com/python/cpython/pull/99495/files |
| Please reload this page | https://github.com/python/cpython/pull/99495/files |
|
GH-98831: Add macro and op and their implementation to DSL
| https://github.com/python/cpython/pull/99495/files#top |
|
Show all changes
21 commits
| https://github.com/python/cpython/pull/99495/files |
|
7fb598a
Add macro() and op() DSL features
gvanrossum Nov 14, 2022
| https://github.com/python/cpython/pull/99495/commits/7fb598a23dbb34209208eb6f8d94cc7d19477b33 |
|
edae5af
Improve code generation for super/macro instructions
gvanrossum Nov 15, 2022
| https://github.com/python/cpython/pull/99495/commits/edae5af11b1de5c952eae321b52d4da38819598d |
|
881357e
Move super code generation into a helper
gvanrossum Nov 16, 2022
| https://github.com/python/cpython/pull/99495/commits/881357edd8edcd4b5dfcde66c0c6109bd0f323ed |
|
0f12c40
Reduce the fiddling with integers in super analysis
gvanrossum Nov 16, 2022
| https://github.com/python/cpython/pull/99495/commits/0f12c4034b9ad3c203557e224a05547dece39999 |
|
babdbf9
Do the super/macro analysis at analysis time
gvanrossum Nov 16, 2022
| https://github.com/python/cpython/pull/99495/commits/babdbf9a9a069ecc801c565757af041cbb58a818 |
|
2fa0a04
Convert WITH_EXCEPT_START, fix generator to make it work
gvanrossum Nov 16, 2022
| https://github.com/python/cpython/pull/99495/commits/2fa0a048549498e8e47eafff2ef7ec72056cea89 |
|
cb0c874
Fix lexer to balk at unrecognized characters, e.g. '@'
gvanrossum Nov 16, 2022
| https://github.com/python/cpython/pull/99495/commits/cb0c874062c68de8fb64abdf37e242e65f253cc3 |
|
fe0d336
Fix typo in comment
gvanrossum Nov 17, 2022
| https://github.com/python/cpython/pull/99495/commits/fe0d336697bd22c64aa996e7cb69ab0bd0face70 |
|
d84a5c3
Code review from GH-99526
gvanrossum Nov 18, 2022
| https://github.com/python/cpython/pull/99495/commits/d84a5c364f977a1d1aa8412d4256a63b30c0b7ab |
|
d7ad950
Fix moved output names; support object pointers in cache
gvanrossum Nov 18, 2022
| https://github.com/python/cpython/pull/99495/commits/d7ad95004375a146c050e2dfbb28ea1452d7f0f9 |
|
a034675
Tune README
gvanrossum Nov 18, 2022
| https://github.com/python/cpython/pull/99495/commits/a0346757f42695ae8c6715fe3d8290a95d26c2f6 |
|
1aafac8
Introduce error() method to print errors
gvanrossum Nov 18, 2022
| https://github.com/python/cpython/pull/99495/commits/1aafac8c3bd72a051aa77ece1c544388a8525591 |
|
20062f4
Check components of super/macro ops
gvanrossum Nov 18, 2022
| https://github.com/python/cpython/pull/99495/commits/20062f431af22d91927087209188eaaf36f12927 |
|
7194723
Fix crash when WITH_EXCEPT_START errors out
gvanrossum Nov 18, 2022
| https://github.com/python/cpython/pull/99495/commits/7194723b96beb05f966a6ba6a0eadea0a095bf9f |
|
cb62653
Merge branch 'main' into macro-ops
gvanrossum Nov 19, 2022
| https://github.com/python/cpython/pull/99495/commits/cb6265374f463d6ba43ba0fd88fc6a747d83b36d |
|
b74aa6a
Don't use typing.Dict
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99495/commits/b74aa6aaac304d256ca66ca14de896d2b4aecbae |
|
a0feff9
Kill more "unused" literals
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99495/commits/a0feff9402678b7b8c1203ea95f2613f0262747b |
|
a2e9991
Don't over-use f-strings
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99495/commits/a2e999143554941a779c64e9568016cfd1c973ce |
|
240126b
Avoid compiler warning on unused variable
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99495/commits/240126b0985ab75b4ada76be7dde61c4d620dbeb |
|
6640706
Merge remote-tracking branch 'origin/main' into macro-ops
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
7afa58c
Introduce read_uint16(p) as equivalent to *p
gvanrossum Nov 22, 2022
| https://github.com/python/cpython/pull/99495/commits/7afa58c3b343d34ba4ad64c1357f106ec21b78e3 |
|
Clear filters
| https://github.com/python/cpython/pull/99495/files |
| Please reload this page | https://github.com/python/cpython/pull/99495/files |
| Please reload this page | https://github.com/python/cpython/pull/99495/files |
|
pycore_code.h
| https://github.com/python/cpython/pull/99495/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
bytecodes.c
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
generated_cases.c.h
| https://github.com/python/cpython/pull/99495/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
README.md
| https://github.com/python/cpython/pull/99495/files#diff-c843e0106de09442054ba821446491d9908a97452d8fd3b4354dd4d9d1fab97f |
|
generate_cases.py
| https://github.com/python/cpython/pull/99495/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 |
|
lexer.py
| https://github.com/python/cpython/pull/99495/files#diff-6540be8db4a255ba36e1b4dea6cf12db11ee7c44e29bfd3c0a4d4f53bb8ef2d8 |
|
parser.py
| https://github.com/python/cpython/pull/99495/files#diff-bc6851ce97efb76ebfd0bc2f37d62ac0902080d0749be72d29d978f0ee2fa0e4 |
| Include/internal/pycore_code.h | https://github.com/python/cpython/pull/99495/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
View file
| https://github.com/gvanrossum/cpython/blob/7afa58c3b343d34ba4ad64c1357f106ec21b78e3/Include/internal/pycore_code.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99495/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99495/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
| https://github.com/python/cpython/pull/99495/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L221 |
| Python/bytecodes.c | https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
View file
| https://github.com/gvanrossum/cpython/blob/7afa58c3b343d34ba4ad64c1357f106ec21b78e3/Python/bytecodes.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99495/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
| https://github.com/python/cpython/pull/99495/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
| Python/generated_cases.c.h | https://github.com/python/cpython/pull/99495/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
View file
| https://github.com/gvanrossum/cpython/blob/7afa58c3b343d34ba4ad64c1357f106ec21b78e3/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/99495/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L223 |
| Tools/cases_generator/README.md | https://github.com/python/cpython/pull/99495/files#diff-c843e0106de09442054ba821446491d9908a97452d8fd3b4354dd4d9d1fab97f |
|
View file
| https://github.com/gvanrossum/cpython/blob/7afa58c3b343d34ba4ad64c1357f106ec21b78e3/Tools/cases_generator/README.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/99495/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/99495/files#diff-c843e0106de09442054ba821446491d9908a97452d8fd3b4354dd4d9d1fab97f |
|
| https://github.com/python/cpython/pull/99495/files#diff-c843e0106de09442054ba821446491d9908a97452d8fd3b4354dd4d9d1fab97f |
| Please reload this page | https://github.com/python/cpython/pull/99495/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 |