| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:ecefbf43-2063-a1d7-491c-8724f095b0f1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD62:1C6EA2:279E2A9:34D2A3A:6996C244 |
| html-safe-nonce | 9497795ef15cef930cada1881bf76e10753e707e5952c1146a0b7f00d3813550 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDYyOjFDNkVBMjoyNzlFMkE5OjM0RDJBM0E6Njk5NkMyNDQiLCJ2aXNpdG9yX2lkIjoiNTMyNzU2NzIwOTEzNjMwODgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82355e7f74b02db799230285ba49e12b011231f18805bc3d04048aa8681cdb96 |
| 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/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
| 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 | 5513290f8d09a9ed78de519ab8316ed23b2b0ddd5e91d2420df56691d00827e8 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e258e32a8c50a12656030b21f3279030a774ec82 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99495%2Fcommits%2F6640706e737731b22ae50a38b456d87764a9e5e3 |
| 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%2Fcommits%2F6640706e737731b22ae50a38b456d87764a9e5e3 |
|
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 |
| Reload | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
| Reload | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
| Reload | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
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 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/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
GH-98831: Add macro and op and their implementation to DSL
| https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3#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/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
| Please reload this page | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
| Please reload this page | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
Prev
| https://github.com/python/cpython/pull/99495/commits/240126b0985ab75b4ada76be7dde61c4d620dbeb |
|
Next
| https://github.com/python/cpython/pull/99495/commits/7afa58c3b343d34ba4ad64c1357f106ec21b78e3 |
| Please reload this page | https://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/python/cpython/commits?author=gvanrossum |
| view the diff. | https://github.com/python/cpython/commit/6640706e737731b22ae50a38b456d87764a9e5e3 |
|
| 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 |