René's URL Explorer Experiment


Title: GH-98831: Add `macro` and `op` and their implementation to DSL by gvanrossum · Pull Request #99495 · python/cpython · GitHub

Open Graph Title: GH-98831: Add `macro` and `op` and their implementation to DSL by gvanrossum · Pull Request #99495 · python/cpython

X Title: GH-98831: Add `macro` and `op` and their implementation to DSL by gvanrossum · Pull Request #99495 · python/cpython

Description: 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. '@' Fix moved output names; support object pointers in cache Introduce error() method to print errors Issue: gh-98831

Open Graph Description: 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. '@' ...

X Description: 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. '@&a...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:ecefbf43-2063-a1d7-491c-8724f095b0f1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD62:1C6EA2:279E2A9:34D2A3A:6996C244
html-safe-nonce9497795ef15cef930cada1881bf76e10753e707e5952c1146a0b7f00d3813550
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDYyOjFDNkVBMjoyNzlFMkE5OjM0RDJBM0E6Njk5NkMyNDQiLCJ2aXNpdG9yX2lkIjoiNTMyNzU2NzIwOTEzNjMwODgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac82355e7f74b02db799230285ba49e12b011231f18805bc3d04048aa8681cdb96
hovercard-subject-tagpull_request:1122086573
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/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3
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:altOne 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5513290f8d09a9ed78de519ab8316ed23b2b0ddd5e91d2420df56691d00827e8
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee258e32a8c50a12656030b21f3279030a774ec82
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 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%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
Reloadhttps://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3
Reloadhttps://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3
Reloadhttps://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 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:macro-opshttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3
Please reload this pagehttps://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 pagehttps://github.com/python/cpython/pull/99495/commits/6640706e737731b22ae50a38b456d87764a9e5e3
https://github.com/gvanrossum
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
view the diff.https://github.com/python/cpython/commit/6640706e737731b22ae50a38b456d87764a9e5e3
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.