René's URL Explorer Experiment


Title: GH-98831: Refactor generate_cases.py by gvanrossum · Pull Request #99408 · python/cpython · GitHub

Open Graph Title: GH-98831: Refactor generate_cases.py by gvanrossum · Pull Request #99408 · python/cpython

X Title: GH-98831: Refactor generate_cases.py by gvanrossum · Pull Request #99408 · python/cpython

Description: Consider this after GH-99313. Issue: gh-98831

Open Graph Description: Consider this after GH-99313. Issue: gh-98831

X Description: Consider this after GH-99313. Issue: gh-98831

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5bbcf23e-cf2e-4e43-ee84-36cfeb5d6267
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id95B8:9F506:D3F544:11A660B:69699D07
html-safe-noncec4d6220cc19034df5063bcff760c2c6b4cc28651c73b9c9c44014613d37c0fb8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUI4OjlGNTA2OkQzRjU0NDoxMUE2NjBCOjY5Njk5RDA3IiwidmlzaXRvcl9pZCI6IjE1NTcwMDEyMzc5OTI5Mzg3NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc534b066eac17f12188d34b8aba56c90719396bfe1ed226ec737e023ed1328b7
hovercard-subject-tagpull_request:1119809242
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/99408/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:altConsider this after GH-99313. Issue: gh-98831
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/99408/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99408%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%2F99408%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/99408/files
Reloadhttps://github.com/python/cpython/pull/99408/files
Reloadhttps://github.com/python/cpython/pull/99408/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/99408/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/99408/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-refactorhttps://github.com/gvanrossum/cpython/tree/cases-refactor
Conversation 4 https://github.com/python/cpython/pull/99408
Commits 36 https://github.com/python/cpython/pull/99408/commits
Checks 0 https://github.com/python/cpython/pull/99408/checks
Files changed https://github.com/python/cpython/pull/99408/files
Please reload this pagehttps://github.com/python/cpython/pull/99408/files
GH-98831: Refactor generate_cases.py https://github.com/python/cpython/pull/99408/files#top
Show all changes 36 commits https://github.com/python/cpython/pull/99408/files
9f15c4b Support simple cache effects gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/9f15c4b85931eb4086c40571e941e1348232eb3a
6189043 More BINARY_OP instructions gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/6189043d9aca8b209a779544f27dc3d2167f2065
f5e1aed Merge remote-tracking branch 'origin/main' into cache-effects gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/f5e1aedba49ab25a41d14c5d1d74696117cbff61
a8d608d Tweak dummy definitions in bytecodes.c after merge gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/a8d608d66fd11ee3fd54b3b07a1d85b0e03df93e
4ee85e7 gh-99300: Use Py_NewRef() in Objects/ directory (#99332) vstinner Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/4ee85e7b555691d1ae69906c67d6863c8a32464f
873da31 gh-99300: Use Py_NewRef() in Objects/dictobject.c (#99333) vstinner Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/873da3158804d77d5d487af0d5d61b4f5d45f5e1
e0ab5b8 gh-90110: Update the C-analyzer Tool (gh-99307) ericsnowcurrently Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/e0ab5b80e42f96dbecadadbc202c792b78540824
882fdec gh-99277: remove older version of `get_write_buffer_limits` (#99280) csuriano23 Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/882fdecbf824880e41ec67b89eee314186ab4b55
8226fb9 gh-99204: Calculate base_executable by alternate names in POSIX venvs… vfazio Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/8226fb957c88b879f9dc688626f33e8fbae544ac
1aa0124 GH-99298: Don't perform jumps before error handling (GH-99299) brandtbucher Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/1aa012429d46e5b575fb939e846903f7f0c00dcb
d094e42 GH-98831: Remove all remaining DISPATCH() calls from bytecodes.c (#99… gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/d094e422e99492f62d6b45057de00fb281480112
d3d907a Remaining BINARY_OP family members gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/d3d907a455ab7059b66bcf85d150dbf818683328
0339a67 Uniformly skip 'unused' effects gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/0339a670f600b1913300c196829a1a6d94a59e72
f3e7dd6 Remove superfluous asserts; fix one 'is not' gvanrossum Nov 10, 2022 https://github.com/python/cpython/pull/99408/commits/f3e7dd69b3c943dd8ae7535a4daa3d534ae56cc3
e3ff6ac Make BINARY_OP result unused gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/e3ff6ac9cf4bcce245fc90260559bb694cea71f2
3db443a Fix parser for family() gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/3db443a7eb70c140b2c0450721e86660f17e8e3f
c58a85a Check family consistency gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/c58a85a3def2aa776d0e93df4c5fc0bdec14baf6
756a41b Add first family (binary_op) gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/756a41bfa5f9ea44c0bb5952e939941be933cdb4
48400ac Add assert() to double-check cache struct size gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/48400aceabe0891e6b1bf198b98436bbd9573734
433243a Merge commit '00ee6d506e' into cache-effects gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/433243a5aa7e0e4bed5f358963a22ee6c0625e63
3d51484 Merge commit '694cdb24a6' into cache-effects gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/3d51484829cdb4719b6d9376779bfa55713eb94e
4d42a0a Merge remote-tracking branch 'origin/main' into cache-effects gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/4d42a0a09fb1166f403d02a4941734b65caa9812
ff8e0ec Merge remote-tracking branch 'origin/main' into cache-effects gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/ff8e0ecc6607ec37bcda3f1f491bf6053c2fd934
ea16382 Make family() macro variadic gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/ea163821e8a915c097416b85dac6bd6b0ffa5f87
8eadf1c Merge remote-tracking branch 'origin/main' into cache-effects gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/8eadf1cb3f1b762f0b089a0b4253d441aa8f4995
205f12e Show correct lineno on error; get rid of eopen() gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/205f12ecaa288edac54c3fb6955bf64184ff67e7
bdba4d2 Kill -q flag gvanrossum Nov 11, 2022 https://github.com/python/cpython/pull/99408/commits/bdba4d2853dcd4d2014b89435a47f56dc24749e0
bf10431 Refactor generate_cases.py. Tweak output a teensy bit. gvanrossum Nov 12, 2022 https://github.com/python/cpython/pull/99408/commits/bf1043179d6c7b63fa0b25cd4a5c960b2674ef56
4cfcf77 Further refactor gvanrossum Nov 12, 2022 https://github.com/python/cpython/pull/99408/commits/4cfcf77558f5da1c0375f01f15ad27f41ed7e9f4
a280167 Merge remote-tracking branch 'origin/main' into cases-refactor gvanrossum Nov 12, 2022 https://github.com/python/cpython/pull/99408/commits/a2801675f0400aa86b7a19c630dd10a4cf503f81
382e248 Make {In,Out}putEffect unions instead of classes gvanrossum Nov 13, 2022 https://github.com/python/cpython/pull/99408/commits/382e248b84e93306c3c3a6c8459c37ff6fbd77f7
b5c8a9f Fix some mypy errors gvanrossum Nov 13, 2022 https://github.com/python/cpython/pull/99408/commits/b5c8a9f314f45f5660d3f46ab8b67848172f4245
387fbe1 Move check_overlaps to generate_cases.py gvanrossum Nov 13, 2022 https://github.com/python/cpython/pull/99408/commits/387fbe1d85a25ed8b65e2a1a7f453b0dbe9f46d9
d682118 Fix cache effect when used gvanrossum Nov 13, 2022 https://github.com/python/cpython/pull/99408/commits/d6821184cf573e70812e608c8f9618c57fa9768d
14e75f1 Demonstrate cache effect with BINARY_SUBSCR gvanrossum Nov 13, 2022 https://github.com/python/cpython/pull/99408/commits/14e75f1970d38101579c8e34c0de477d1e7381af
1a5356b Fix test crashes by fiddling DECREF order in BINARY_SUBSCR_DICT gvanrossum Nov 14, 2022 https://github.com/python/cpython/pull/99408/commits/1a5356b2ea8502a597cfc2ede2430916cb2dcd75
Clear filters https://github.com/python/cpython/pull/99408/files
Please reload this pagehttps://github.com/python/cpython/pull/99408/files
Please reload this pagehttps://github.com/python/cpython/pull/99408/files
bytecodes.c https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
generated_cases.c.h https://github.com/python/cpython/pull/99408/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448
generate_cases.py https://github.com/python/cpython/pull/99408/files#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272
lexer.py https://github.com/python/cpython/pull/99408/files#diff-6540be8db4a255ba36e1b4dea6cf12db11ee7c44e29bfd3c0a4d4f53bb8ef2d8
parser.py https://github.com/python/cpython/pull/99408/files#diff-bc6851ce97efb76ebfd0bc2f37d62ac0902080d0749be72d29d978f0ee2fa0e4
plexer.py https://github.com/python/cpython/pull/99408/files#diff-3392193d280c7178f0d284d9666d1233c519e12888a6c633e1b944039accfbcd
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L221
Python/bytecodes.chttps://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
View file https://github.com/gvanrossum/cpython/blob/1a5356b2ea8502a597cfc2ede2430916cb2dcd75/Python/bytecodes.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/99408/{{ revealButtonHref }}
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
https://github.com/python/cpython/pull/99408/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/99408/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.