René's URL Explorer Experiment


Title: GH-123391: Code generators: Track stack and locals in if statements. by markshannon · Pull Request #123469 · python/cpython · GitHub

Open Graph Title: GH-123391: Code generators: Track stack and locals in if statements. by markshannon · Pull Request #123469 · python/cpython

X Title: GH-123391: Code generators: Track stack and locals in if statements. by markshannon · Pull Request #123469 · python/cpython

Description: Issue: Interpreter code generators need to be able to handle basic flow control #123391

Open Graph Description: Issue: Interpreter code generators need to be able to handle basic flow control #123391

X Description: Issue: Interpreter code generators need to be able to handle basic flow control #123391

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:92a6df86-197b-d372-f789-7ec725ceee4d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id937C:27ADEA:4739ED:5C5BEB:696B8764
html-safe-nonce3f0034d24a27a331535447f20031a39bf8061e318c86e057cd9773d655218f2c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzdDOjI3QURFQTo0NzM5RUQ6NUM1QkVCOjY5NkI4NzY0IiwidmlzaXRvcl9pZCI6IjEyNjA2ODQ0MjYyNjU0NjI2MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd876a6ba2ba9196bf9ec8ee8e0840830e001b9818d214ce48d5d21c82016c750
hovercard-subject-tagpull_request:2043725486
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/123469/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/accc27e6278badbd0ae16198fc7848a314b274519c1f475025e9cf95e384ec74/python/cpython/pull/123469
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/accc27e6278badbd0ae16198fc7848a314b274519c1f475025e9cf95e384ec74/python/cpython/pull/123469
og:image:altIssue: Interpreter code generators need to be able to handle basic flow control #123391
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/123469#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123469
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%2F123469
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/123469
Reloadhttps://github.com/python/cpython/pull/123469
Reloadhttps://github.com/python/cpython/pull/123469
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/123469
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/123469
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
Jump to bottomhttps://github.com/python/cpython/pull/123469#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:spill-before-escaping-callshttps://github.com/faster-cpython/cpython/tree/spill-before-escaping-calls
GH-123391: Code generators: Track stack and locals in if statements. https://github.com/python/cpython/pull/123469#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:spill-before-escaping-callshttps://github.com/faster-cpython/cpython/tree/spill-before-escaping-calls
Conversation 0 https://github.com/python/cpython/pull/123469
Commits 20 https://github.com/python/cpython/pull/123469/commits
Checks 0 https://github.com/python/cpython/pull/123469/checks
Files changed https://github.com/python/cpython/pull/123469/files
Please reload this pagehttps://github.com/python/cpython/pull/123469
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 29, 2024https://github.com/python/cpython/pull/123469#issue-2494112882
Please reload this pagehttps://github.com/python/cpython/pull/123469
Interpreter code generators need to be able to handle basic flow control #123391https://github.com/python/cpython/issues/123391
Please reload this pagehttps://github.com/python/cpython/pull/123469
markshannonhttps://github.com/markshannon
August 7, 2024 16:13https://github.com/python/cpython/pull/123469#commits-pushed-75bda28
https://github.com/markshannon
Add copy and == support to Stack classhttps://github.com/python/cpython/pull/123469/commits/75bda2803addd6513c2187ed754ff73adbd1ff77
75bda28https://github.com/python/cpython/pull/123469/commits/75bda2803addd6513c2187ed754ff73adbd1ff77
https://github.com/markshannon
Merge branch 'main' into stack-copy-and-mergehttps://github.com/python/cpython/pull/123469/commits/c7e9102d71a0b6c12634d671bd4f84b90692508f
c7e9102https://github.com/python/cpython/pull/123469/commits/c7e9102d71a0b6c12634d671bd4f84b90692508f
https://github.com/markshannon
blacken stack.pyhttps://github.com/python/cpython/pull/123469/commits/d331371fa404a1a9989e22d3cf7edad87a0c1570
d331371https://github.com/python/cpython/pull/123469/commits/d331371fa404a1a9989e22d3cf7edad87a0c1570
https://github.com/markshannon
Cases generator: Track reachability and divergent stacks in if statem…https://github.com/python/cpython/pull/123469/commits/4673d8a929988bf0f867a2e37b2a4db91fac072c
4673d8ahttps://github.com/python/cpython/pull/123469/commits/4673d8a929988bf0f867a2e37b2a4db91fac072c
https://github.com/markshannon
Fix type errors and rename ahead to look_aheadhttps://github.com/python/cpython/pull/123469/commits/132df06a740ad37296d5396efd7c15dd5d65a3a7
132df06https://github.com/python/cpython/pull/123469/commits/132df06a740ad37296d5396efd7c15dd5d65a3a7
https://github.com/markshannon
Track state of output variableshttps://github.com/python/cpython/pull/123469/commits/b7f71d43c6d828d0173070bfe69a54d55e8ee8a7
b7f71d4https://github.com/python/cpython/pull/123469/commits/b7f71d43c6d828d0173070bfe69a54d55e8ee8a7
https://github.com/markshannon
Handle stack and output locals togather as Storage classhttps://github.com/python/cpython/pull/123469/commits/b97dea982a9a117839fa9a5a469509ab3297e5f7
b97dea9https://github.com/python/cpython/pull/123469/commits/b97dea982a9a117839fa9a5a469509ab3297e5f7
https://github.com/markshannon
Track locals as well as stack on differing pathshttps://github.com/python/cpython/pull/123469/commits/9838a05a681f1ce8700e5444a0dda93a8cc4acbf
9838a05https://github.com/python/cpython/pull/123469/commits/9838a05a681f1ce8700e5444a0dda93a8cc4acbf
https://github.com/markshannon
Use 'PEP 7' in syntax error, to make it clear that this is not a C sy…https://github.com/python/cpython/pull/123469/commits/1f829be66afd7575533f92137bc909b9d8aa43d9
1f829behttps://github.com/python/cpython/pull/123469/commits/1f829be66afd7575533f92137bc909b9d8aa43d9
https://github.com/markshannon
Push peeks back to stack in optimizer code genhttps://github.com/python/cpython/pull/123469/commits/d2e5f129ab67e88f76e43ca642fcf0ad1ca070e5
d2e5f12https://github.com/python/cpython/pull/123469/commits/d2e5f129ab67e88f76e43ca642fcf0ad1ca070e5
https://github.com/markshannon
Merge branch 'main' into stack-copy-and-mergehttps://github.com/python/cpython/pull/123469/commits/27530145087028d62cabbbd9e37578c8787e6a12
2753014https://github.com/python/cpython/pull/123469/commits/27530145087028d62cabbbd9e37578c8787e6a12
https://github.com/markshannon
Update testhttps://github.com/python/cpython/pull/123469/commits/1754fc4c8116959de0fe43f69a7d4837941b0208
1754fc4https://github.com/python/cpython/pull/123469/commits/1754fc4c8116959de0fe43f69a7d4837941b0208
https://github.com/markshannon
Cleanup whitespacehttps://github.com/python/cpython/pull/123469/commits/98f9720959e99a3f4e210a312ea8717102e2a87f
98f9720https://github.com/python/cpython/pull/123469/commits/98f9720959e99a3f4e210a312ea8717102e2a87f
https://github.com/markshannon
Add tests for PEP 7 parsing and escaping call in conditionhttps://github.com/python/cpython/pull/123469/commits/0284b3fc9cf6eb3de38d548f67ec7c87dcbb15f8
0284b3fhttps://github.com/python/cpython/pull/123469/commits/0284b3fc9cf6eb3de38d548f67ec7c87dcbb15f8
https://github.com/markshannon
Remove merge artifacthttps://github.com/python/cpython/pull/123469/commits/03bea71e0fbca5f3a7acc62b0ee54ceac9a78ac5
03bea71https://github.com/python/cpython/pull/123469/commits/03bea71e0fbca5f3a7acc62b0ee54ceac9a78ac5
https://github.com/markshannon
Remove test for escaping calls in conditionshttps://github.com/python/cpython/pull/123469/commits/ca2f457cfefbf57eac87aeb20df66905ed293196
ca2f457https://github.com/python/cpython/pull/123469/commits/ca2f457cfefbf57eac87aeb20df66905ed293196
https://github.com/markshannon
Spill before escaping calls. Initial attempthttps://github.com/python/cpython/pull/123469/commits/57de61ff7102b2998bbc38dd71ea2b685b51ea0a
57de61fhttps://github.com/python/cpython/pull/123469/commits/57de61ff7102b2998bbc38dd71ea2b685b51ea0a
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 29, 2024 https://github.com/python/cpython/pull/123469#ref-issue-2489368289
Interpreter code generators need to be able to handle basic flow control #123391 https://github.com/python/cpython/issues/123391
markshannonhttps://github.com/markshannon
August 29, 2024 12:03https://github.com/python/cpython/pull/123469#commits-pushed-a2e430a
https://github.com/markshannon
Clean up assertshttps://github.com/python/cpython/pull/123469/commits/a2e430a1fc7587e56774616e8ba101a9bab12636
a2e430ahttps://github.com/python/cpython/pull/123469/commits/a2e430a1fc7587e56774616e8ba101a9bab12636
https://github.com/markshannon
Update testhttps://github.com/python/cpython/pull/123469/commits/95408d32a39dd114cbbb894433077e819567d626
95408d3https://github.com/python/cpython/pull/123469/commits/95408d32a39dd114cbbb894433077e819567d626
https://github.com/markshannon
markshannonhttps://github.com/markshannon
force-pushedhttps://github.com/python/cpython/compare/5b06484474b899245a19e76cfdb5a77307eef3b8..95408d32a39dd114cbbb894433077e819567d626
5b06484https://github.com/python/cpython/commit/5b06484474b899245a19e76cfdb5a77307eef3b8
95408d3https://github.com/python/cpython/commit/95408d32a39dd114cbbb894433077e819567d626
Compare https://github.com/python/cpython/compare/5b06484474b899245a19e76cfdb5a77307eef3b8..95408d32a39dd114cbbb894433077e819567d626
August 29, 2024 15:25https://github.com/python/cpython/pull/123469#event-14065159628
https://github.com/markshannon
markshannonhttps://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Aug 29, 2024https://github.com/python/cpython/pull/123469#event-14065182826
https://github.com/markshannon
Flush locals as well on errorhttps://github.com/python/cpython/pull/123469/commits/eb3a645dc2c90fe0135f25e0e32aa40eaae5fdba
eb3a645https://github.com/python/cpython/pull/123469/commits/eb3a645dc2c90fe0135f25e0e32aa40eaae5fdba
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Sep 23, 2024https://github.com/python/cpython/pull/123469#event-14371633459
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123469
https://github.com/tomasr8
tomasr8 https://github.com/tomasr8
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/savannahostrowski
savannahostrowski https://github.com/savannahostrowski
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/123469
https://github.com/markshannon
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.