René's URL Explorer Experiment


Title: GH-98831: Implement array support in cases generator by gvanrossum · Pull Request #100912 · python/cpython · GitHub

Open Graph Title: GH-98831: Implement array support in cases generator by gvanrossum · Pull Request #100912 · python/cpython

X Title: GH-98831: Implement array support in cases generator by gvanrossum · Pull Request #100912 · python/cpython

Description: There are some issues, but as Mark said we needn't attempt to get the generator to do everything (at least not right now). In particular, as I mentioned in the meeting, there's no full support for output arrays (but maybe we'll never need that). While I don't envision super-instructions with array operands, once macros become more popular they may well need arrays -- that's currently not supported. We might want to consider a macro to DECREF an array of object pointers; this is currently done in an ad-hoc fashion. Issue: gh-98831

Open Graph Description: There are some issues, but as Mark said we needn't attempt to get the generator to do everything (at least not right now). In particular, as I mentioned in the meeting, there's no full supp...

X Description: There are some issues, but as Mark said we needn't attempt to get the generator to do everything (at least not right now). In particular, as I mentioned in the meeting, there's no f...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:509e89af-4857-313e-deda-01f11db0acf4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8216:31E362:442316:5B3BA0:69697F6F
html-safe-nonce5531655fff7b857b4b4a79d1b6992e477d0e3c326a3dcb054ca76c4418de7048
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjE2OjMxRTM2Mjo0NDIzMTY6NUIzQkEwOjY5Njk3RjZGIiwidmlzaXRvcl9pZCI6IjQ4ODgxNzUyMTQxODU3NzQ5NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4fd5582f7a120a3c9eb5659e454956be9677f952fd49f66d3ddaa20b1298de55
hovercard-subject-tagpull_request:1191846827
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/100912/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:altThere are some issues, but as Mark said we needn't attempt to get the generator to do everything (at least not right now). In particular, as I mentioned in the meeting, there's no full supp...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77
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
release48f380098b30acbb700b04f1724481ca10d574fc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100912/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100912%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%2F100912%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/100912/files
Reloadhttps://github.com/python/cpython/pull/100912/files
Reloadhttps://github.com/python/cpython/pull/100912/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100912/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/100912/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:cases-arrayhttps://github.com/gvanrossum/cpython/tree/cases-array
Conversation 41 https://github.com/python/cpython/pull/100912
Commits 32 https://github.com/python/cpython/pull/100912/commits
Checks 0 https://github.com/python/cpython/pull/100912/checks
Files changed https://github.com/python/cpython/pull/100912/files
Please reload this pagehttps://github.com/python/cpython/pull/100912/files
GH-98831: Implement array support in cases generator https://github.com/python/cpython/pull/100912/files#top
Show all changes 32 commits https://github.com/python/cpython/pull/100912/files
4b17476 Tweak 'This file is generated...' header gvanrossum Jan 5, 2023 https://github.com/python/cpython/pull/100912/commits/4b17476f473bb73a793c9701f364b15999ca2ebd
69f04e4 Start on array stack effects gvanrossum Jan 6, 2023 https://github.com/python/cpython/pull/100912/commits/69f04e4572829134adc38d099a6d80ac22107d04
b9bd7e3 Simple input array effects work gvanrossum Jan 7, 2023 https://github.com/python/cpython/pull/100912/commits/b9bd7e39ac655f29e7d185f519bc781d0f2c1256
bb53c44 Ignore Context when comparing Nodes gvanrossum Jan 7, 2023 https://github.com/python/cpython/pull/100912/commits/bb53c44ce27f900d7001e5d32f4fd3708518c93f
4a15c53 Improve stack effect counting (TODO: use everywhere) gvanrossum Jan 7, 2023 https://github.com/python/cpython/pull/100912/commits/4a15c53942847f9b32cce1357736baacc25ae2d4
0a1e9a2 Fix stack effect counting in most places gvanrossum Jan 8, 2023 https://github.com/python/cpython/pull/100912/commits/0a1e9a2c7105afff94a4468a4b5a2821367f2220
b023236 Fix TODO gvanrossum Jan 9, 2023 https://github.com/python/cpython/pull/100912/commits/b02323600b1c267d22dbbbe683ec0c559b4c4b7e
9ec91e1 Fix opcode metadata for array stack effects gvanrossum Jan 9, 2023 https://github.com/python/cpython/pull/100912/commits/9ec91e19fc17e51ab33e31fa7a49a40b50dac05b
af785de Array-ize LIST_APPEND gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/af785de41a0a5a008898314f08befb0ba4241962
4fddf2b Array-ize SET_ADD gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/4fddf2b5952e53cd0ded93009cec1942d4d6331e
ac22115 Array-ize LIST_EXTEND gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/ac221153f7ce83b113bd4acab589df5de1b6f254
6c83be0 Array-ize SET_UPDATE gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/6c83be037346e4ed1b5b45c5b4fbf3608b9058de
c7999dd Array-ize BUILD_TUPLE gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/c7999dd43f69abf6a429776605a968888f7d366e
a7aa425 Array-ize BUILD_LIST gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/a7aa4257d055959f9a75f01f7a2bf1cdf09bc115
11f6a58 Use ERROR_IF() in BUILD_STRING gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/11f6a583a6729a68413ab9c6321b0884acad03bf
597fd69 Merge remote-tracking branch 'origin/main' into cases-array gvanrossum Jan 10, 2023 https://github.com/python/cpython/pull/100912/commits/597fd690823f642dd73137a9d756aafa1e26c322
abff4ae Apply most suggestions from code review gvanrossum Jan 12, 2023 https://github.com/python/cpython/pull/100912/commits/abff4ae9f4b3d488bfa898c0fad5c07e88501f94
a02a9eb Accept more general dimensions gvanrossum Jan 12, 2023 https://github.com/python/cpython/pull/100912/commits/a02a9eb8a4257b11886a9b75476d6c2f8b890d56
2bcd90f Fix LIST_EXTEND gvanrossum Jan 12, 2023 https://github.com/python/cpython/pull/100912/commits/2bcd90f818fb845041202084f91d3c1e33da6bae
c579a40 Fix LIST_APPEND, SET_ADD, SET_UPDATE gvanrossum Jan 12, 2023 https://github.com/python/cpython/pull/100912/commits/c579a40d654b7a8e9a3cc9be0664b995b2fcd664
21ac256 Merge remote-tracking branch 'origin/main' into cases-array gvanrossum Jan 14, 2023 https://github.com/python/cpython/pull/100912/commits/21ac256c1dad44c446ca0f1f53e1dbfbbb01c698
70e983d Array-ize BUILD_SET gvanrossum Jan 14, 2023 https://github.com/python/cpython/pull/100912/commits/70e983df334dccf53791478759856de5100ccfc5
827481e Array-ize BUILD_MAP gvanrossum Jan 14, 2023 https://github.com/python/cpython/pull/100912/commits/827481ee88d009104fff7d39e255e85a3f51faa8
aa69c55 Array-ize BUILD_CONST_KEY_MAP gvanrossum Jan 14, 2023 https://github.com/python/cpython/pull/100912/commits/aa69c55b369e9e369c07c4a061abe9932020a98b
6cbabc7 Add comment warning that RAISE_VARARGS needs to stay legacy gvanrossum Jan 14, 2023 https://github.com/python/cpython/pull/100912/commits/6cbabc7847ff870145e748b0f10b1eb387e5c2e2
c7cfe9a Look for 'oparg' in the whole instruction gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/c7cfe9aeaf43f2443d47b0eb816b9b1d62bbc50d
a1a4688 Add docstring for effect_size() gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/a1a4688ff687f2cfacbaec6f92b5aac6aa8cb600
16a2d99 Parenthesize certain symbolic effects gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/16a2d99d0356e581a1825c748b80a49842826231
1ef085d Fix typo in comment gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/1ef085d9d0ac0f29e882a4eb4a81f1bcc1228b1e
1bf42ce Swap args of imaginary MOVE_ITEMS() macro gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/1bf42ced2d1598761f8895cdf2efeaa8ac0fbed9
c2be1ab Tune for loops gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/c2be1ab0a2c2b9e62e5865837a6acf1fbe787318
c7edea2 Disallow empty dimension gvanrossum Jan 17, 2023 https://github.com/python/cpython/pull/100912/commits/c7edea2268b2069abdd647362ab97839e52ed6d4
Clear filters https://github.com/python/cpython/pull/100912/files
Please reload this pagehttps://github.com/python/cpython/pull/100912/files
Please reload this pagehttps://github.com/python/cpython/pull/100912/files
bytecodes.c https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
generated_cases.c.h https://github.com/python/cpython/pull/100912/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448
opcode_metadata.h https://github.com/python/cpython/pull/100912/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498
generate_cases.py https://github.com/python/cpython/pull/100912/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272
parser.py https://github.com/python/cpython/pull/100912/files#diff-bc6851ce97efb76ebfd0bc2f37d62ac0902080d0749be72d29d978f0ee2fa0e4
test_generator.py https://github.com/python/cpython/pull/100912/files#diff-fc6342d3ebecd67de2e51a64957243cedfb00bc645307fe91e8e8b285ecca98c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L221
Python/bytecodes.chttps://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
View file https://github.com/gvanrossum/cpython/blob/c7edea2268b2069abdd647362ab97839e52ed6d4/Python/bytecodes.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100912/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/100912/files
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/100912/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Python/generated_cases.c.hhttps://github.com/python/cpython/pull/100912/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448
View file https://github.com/gvanrossum/cpython/blob/c7edea2268b2069abdd647362ab97839e52ed6d4/Python/generated_cases.c.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/100912/files
Python/opcode_metadata.hhttps://github.com/python/cpython/pull/100912/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498
View file https://github.com/gvanrossum/cpython/blob/c7edea2268b2069abdd647362ab97839e52ed6d4/Python/opcode_metadata.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100912/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100912/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498
https://github.com/python/cpython/pull/100912/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498
https://github.com/python/cpython/pull/100912/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498
https://github.com/python/cpython/pull/100912/files#diff-f862bc60824529a25ba378be850ecc6762f03c6c944266d30ac7172d10132498
Please reload this pagehttps://github.com/python/cpython/pull/100912/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.