René's URL Explorer Experiment


Title: GH-102305: Expand some macros in generated_cases.c.h by gvanrossum · Pull Request #102309 · python/cpython · GitHub

Open Graph Title: GH-102305: Expand some macros in generated_cases.c.h by gvanrossum · Pull Request #102309 · python/cpython

X Title: GH-102305: Expand some macros in generated_cases.c.h by gvanrossum · Pull Request #102309 · python/cpython

Description: The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes stack_pointer[-i] = x. Similar for JUMPBY(i), becomes next_instr += i. Also expand NEXTOPARG() -- in the expansion I found that it is redundantly extracting the opcode (in the case of a super-instruction) so removed that,leaving only oparg = (next_instr++)->op.arg. Issue: gh-102305

Open Graph Description: The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes sta...

X Description: The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4f56dbed-ff54-f268-a8d3-1646583a87db
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD97C:1D189C:A4EB50:DC1F76:69699335
html-safe-nonced3124c1aa24378375a4436bea0998ed15bf4e548de1ec8cd7350d879663bfb4f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTdDOjFEMTg5QzpBNEVCNTA6REMxRjc2OjY5Njk5MzM1IiwidmlzaXRvcl9pZCI6IjYyNDEwMjc2NTI1Nzk4NTcyMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace7d980a2a12a30595e4bf861a567f85203de3452d2972ccef94d645d83707a62
hovercard-subject-tagpull_request:1256353444
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/102309/files
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:altThe code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes sta...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/102309/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102309%2Ffiles
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%2F102309%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
Reloadhttps://github.com/python/cpython/pull/102309/files
Reloadhttps://github.com/python/cpython/pull/102309/files
Reloadhttps://github.com/python/cpython/pull/102309/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/102309/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 pagehttps://github.com/python/cpython/pull/102309/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 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:fewer-macroshttps://github.com/gvanrossum/cpython/tree/fewer-macros
Conversation 1 https://github.com/python/cpython/pull/102309
Commits 2 https://github.com/python/cpython/pull/102309/commits
Checks 0 https://github.com/python/cpython/pull/102309/checks
Files changed https://github.com/python/cpython/pull/102309/files
Please reload this pagehttps://github.com/python/cpython/pull/102309/files
GH-102305: Expand some macros in generated_cases.c.h https://github.com/python/cpython/pull/102309/files#top
Show all changes 2 commits https://github.com/python/cpython/pull/102309/files
fd301a6 Emit straight stack_pointer[-i] instead of PEEK(i), POKE(i, ...) gvanrossum Feb 28, 2023 https://github.com/python/cpython/pull/102309/commits/fd301a648a933554c4aa8d945174dea4847d4def
2355880 Expand JUMPBY() and NEXTOPARG(), and fix a perf bug gvanrossum Feb 28, 2023 https://github.com/python/cpython/pull/102309/commits/23558805359fdb0a3b998b53925a742e7f9d57db
Clear filters https://github.com/python/cpython/pull/102309/files
Please reload this pagehttps://github.com/python/cpython/pull/102309/files
Please reload this pagehttps://github.com/python/cpython/pull/102309/files
generated_cases.c.h https://github.com/python/cpython/pull/102309/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448
generate_cases.py https://github.com/python/cpython/pull/102309/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272
Please reload this pagehttps://github.com/python/cpython/pull/102309/files
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.