René's URL Explorer Experiment


Title: Align nested code object bytecode parity by youknowone · Pull Request #7942 · RustPython/RustPython · GitHub

Open Graph Title: Align nested code object bytecode parity by youknowone · Pull Request #7942 · RustPython/RustPython

X Title: Align nested code object bytecode parity by youknowone · Pull Request #7942 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: Summary by CodeRabbit Bug Fixes Improved try/except/finally, loop-break, and match/arm code generation to better match CPython control-flow, fixing miscompiled breaks, borrowing, and jump behavi...

X Description: Summary by CodeRabbit Bug Fixes Improved try/except/finally, loop-break, and match/arm code generation to better match CPython control-flow, fixing miscompiled breaks, borrowing, and jump behavi...

Opengraph URL: https://github.com/RustPython/RustPython/pull/7942

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:300a5571-c984-897f-1c3a-292dc6001213
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB384:190AD7:B03044:EB1413:6A5B614B
html-safe-nonce2b753aef998b21f33845073d9a534b4b32c4bf393c2c19c1b4703c182724bcdf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzg0OjE5MEFENzpCMDMwNDQ6RUIxNDEzOjZBNUI2MTRCIiwidmlzaXRvcl9pZCI6IjEzNjkxOTkxNjczMTE0MDUzODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdc2cac27a227bf993a291a93b1d6e590ed5135555da619be510aeaf42fecd5f7
hovercard-subject-tagpull_request:3720119194
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/RustPython/RustPython/7942/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1467f947c72d82e97dedf9923b8e646c8635ad70198dfb3d892d25eab8cb0181/RustPython/RustPython/pull/7942
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1467f947c72d82e97dedf9923b8e646c8635ad70198dfb3d892d25eab8cb0181/RustPython/RustPython/pull/7942
og:image:altSummary by CodeRabbit Bug Fixes Improved try/except/finally, loop-break, and match/arm code generation to better match CPython control-flow, fixing miscompiled breaks, borrowing, and jump behavi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7942#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7942
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2FRustPython%2FRustPython%2Fpull%2F7942
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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/7942
Reloadhttps://github.com/RustPython/RustPython/pull/7942
Reloadhttps://github.com/RustPython/RustPython/pull/7942
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 291 https://github.com/RustPython/RustPython/issues
Pull requests 103 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:bytecode-parityhttps://github.com/youknowone/RustPython/tree/bytecode-parity
Conversationhttps://github.com/RustPython/RustPython/pull/7942
Commits9 (9)https://github.com/RustPython/RustPython/pull/7942/commits
Checkshttps://github.com/RustPython/RustPython/pull/7942/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7942/files
Align nested code object bytecode parityhttps://github.com/RustPython/RustPython/pull/7942#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:bytecode-parityhttps://github.com/youknowone/RustPython/tree/bytecode-parity
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 20, 2026https://github.com/RustPython/RustPython/pull/7942#issue-4490644511
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/7942?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 20, 2026https://github.com/RustPython/RustPython/pull/7942#issuecomment-4503570023
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
RustPython/RustPython#7773https://github.com/RustPython/RustPython/pull/7773
RustPython/RustPython#7930https://github.com/RustPython/RustPython/pull/7930
RustPython/RustPython#7578https://github.com/RustPython/RustPython/pull/7578
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7942
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 21, 2026 00:37https://github.com/RustPython/RustPython/pull/7942#event-25782518165
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 21, 2026 https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4333125354
View reviewed changes https://github.com/RustPython/RustPython/pull/7942/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4333125354
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
948924ahttps://github.com/RustPython/RustPython/commit/948924a14b3b9215c9e7dd6ff7cae9b37e3f55c7
b92d314https://github.com/RustPython/RustPython/commit/b92d31481842c10195a6deabcd7d85a5fbd1314b
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
crates/codegen/src/ir.rshttps://github.com/RustPython/RustPython/pull/7942/files#diff-d8c69d86dba0a1bbfb21c9d93371294ea2861a4083565b20e622a7bec7da1ecc
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 21, 2026 https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4336515930
View reviewed changes https://github.com/RustPython/RustPython/pull/7942/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4336515930
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
b92d314https://github.com/RustPython/RustPython/commit/b92d31481842c10195a6deabcd7d85a5fbd1314b
a91674dhttps://github.com/RustPython/RustPython/commit/a91674d22fe22e1118e7dfb8be3ed92b2149c48b
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
crates/codegen/src/compile.rshttps://github.com/RustPython/RustPython/pull/7942/files#diff-6a53a11ca0aa1a372032c6b54644b8cda74af0c771efa40d3668da4a042cf7ca
coderabbitaihttps://github.com/apps/coderabbitai
May 21, 2026https://github.com/RustPython/RustPython/pull/7942#discussion_r3280822626
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
youknowonehttps://github.com/youknowone
May 22, 2026 01:43https://github.com/RustPython/RustPython/pull/7942#commits-pushed-2c932fa
https://github.com/youknowone
Align nested code object bytecode parityhttps://github.com/RustPython/RustPython/pull/7942/commits/2c932fa57e69fc414e1691055abeb34c232ff6d3
2c932fahttps://github.com/RustPython/RustPython/pull/7942/commits/2c932fa57e69fc414e1691055abeb34c232ff6d3
https://github.com/youknowone
Align CPython jump-back parityhttps://github.com/RustPython/RustPython/pull/7942/commits/522b28dc873bd5a5ad5080fa3fb30a4ab87bea2c
522b28dhttps://github.com/RustPython/RustPython/pull/7942/commits/522b28dc873bd5a5ad5080fa3fb30a4ab87bea2c
https://github.com/youknowone
Align match guard block parity with CPythonhttps://github.com/RustPython/RustPython/pull/7942/commits/22fa3cea92f015e67f4ed8bb42a0d56f32069687
22fa3cehttps://github.com/RustPython/RustPython/pull/7942/commits/22fa3cea92f015e67f4ed8bb42a0d56f32069687
https://github.com/youknowone
Align CPython block borrow parityhttps://github.com/RustPython/RustPython/pull/7942/commits/573e2446bc48debf74991b978f6dc2dc00bcfa88
573e244https://github.com/RustPython/RustPython/pull/7942/commits/573e2446bc48debf74991b978f6dc2dc00bcfa88
https://github.com/youknowone
Align CPython load-fast barrier parityhttps://github.com/RustPython/RustPython/pull/7942/commits/5c913f24c27496dbcafee5cfbb3cd052235bb5e8
5c913f2https://github.com/RustPython/RustPython/pull/7942/commits/5c913f24c27496dbcafee5cfbb3cd052235bb5e8
https://github.com/youknowone
Align CPython try-end label parityhttps://github.com/RustPython/RustPython/pull/7942/commits/d47209324a5ee6531d0519d54061415d5d43c6c7
d472093https://github.com/RustPython/RustPython/pull/7942/commits/d47209324a5ee6531d0519d54061415d5d43c6c7
https://github.com/youknowone
Align CPython try-except end label barriershttps://github.com/RustPython/RustPython/pull/7942/commits/b470d47d3d8a18ea081ed102c5dccad5210becb8
b470d47https://github.com/RustPython/RustPython/pull/7942/commits/b470d47d3d8a18ea081ed102c5dccad5210becb8
https://github.com/youknowone
Align more CPython bytecode edge caseshttps://github.com/RustPython/RustPython/pull/7942/commits/6c48cea68c5652188fbc814b7234338dfe89d2e1
6c48ceahttps://github.com/RustPython/RustPython/pull/7942/commits/6c48cea68c5652188fbc814b7234338dfe89d2e1
https://github.com/youknowone
Align bare except finally bytecode layouthttps://github.com/RustPython/RustPython/pull/7942/commits/4d19a8c7140091a2a57df98d35c2135624e1b5f4
4d19a8chttps://github.com/RustPython/RustPython/pull/7942/commits/4d19a8c7140091a2a57df98d35c2135624e1b5f4
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/a91674d22fe22e1118e7dfb8be3ed92b2149c48b..4d19a8c7140091a2a57df98d35c2135624e1b5f4
a91674dhttps://github.com/RustPython/RustPython/commit/a91674d22fe22e1118e7dfb8be3ed92b2149c48b
4d19a8chttps://github.com/RustPython/RustPython/commit/4d19a8c7140091a2a57df98d35c2135624e1b5f4
Compare https://github.com/RustPython/RustPython/compare/a91674d22fe22e1118e7dfb8be3ed92b2149c48b..4d19a8c7140091a2a57df98d35c2135624e1b5f4
May 21, 2026 16:43https://github.com/RustPython/RustPython/pull/7942#event-25814899777
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 21, 2026https://github.com/RustPython/RustPython/pull/7942#issuecomment-4510486218
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 21, 2026 https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4338915506
View reviewed changes https://github.com/RustPython/RustPython/pull/7942/files/4d19a8c7140091a2a57df98d35c2135624e1b5f4
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4338915506
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
a91674dhttps://github.com/RustPython/RustPython/commit/a91674d22fe22e1118e7dfb8be3ed92b2149c48b
4d19a8chttps://github.com/RustPython/RustPython/commit/4d19a8c7140091a2a57df98d35c2135624e1b5f4
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/youknowone
youknowonehttps://github.com/youknowone
06f73f2https://github.com/RustPython/RustPython/commit/06f73f2ae12a025cc00bf76a2d5f9aaf63c89ca6
May 21, 2026https://github.com/RustPython/RustPython/pull/7942#event-25819942688
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 21, 2026 18:53https://github.com/RustPython/RustPython/pull/7942#event-25819944541
General code nits #8135 https://github.com/RustPython/RustPython/pull/8135
Fix all clippy suggestions in ir.rs #8162 https://github.com/RustPython/RustPython/pull/8162
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 3, 2026 https://github.com/RustPython/RustPython/pull/7942#ref-pullrequest-4801263574
Move some free standing functions to ir::InstructionInfo methods #8209 https://github.com/RustPython/RustPython/pull/8209
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7942
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7942/files/4d19a8c7140091a2a57df98d35c2135624e1b5f4
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7942
https://github.com/youknowone
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.