| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:300a5571-c984-897f-1c3a-292dc6001213 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B384:190AD7:B03044:EB1413:6A5B614B |
| html-safe-nonce | 2b753aef998b21f33845073d9a534b4b32c4bf393c2c19c1b4703c182724bcdf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzg0OjE5MEFENzpCMDMwNDQ6RUIxNDEzOjZBNUI2MTRCIiwidmlzaXRvcl9pZCI6IjEzNjkxOTkxNjczMTE0MDUzODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dc2cac27a227bf993a291a93b1d6e590ed5135555da619be510aeaf42fecd5f7 |
| hovercard-subject-tag | pull_request:3720119194 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/7942/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1467f947c72d82e97dedf9923b8e646c8635ad70198dfb3d892d25eab8cb0181/RustPython/RustPython/pull/7942 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1467f947c72d82e97dedf9923b8e646c8635ad70198dfb3d892d25eab8cb0181/RustPython/RustPython/pull/7942 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/RustPython/RustPython/pull/7942 |
| Reload | https://github.com/RustPython/RustPython/pull/7942 |
| Reload | https://github.com/RustPython/RustPython/pull/7942 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://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 |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:bytecode-parity | https://github.com/youknowone/RustPython/tree/bytecode-parity |
| Conversation | https://github.com/RustPython/RustPython/pull/7942 |
| Commits9 (9) | https://github.com/RustPython/RustPython/pull/7942/commits |
| Checks | https://github.com/RustPython/RustPython/pull/7942/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/7942/files |
| Align nested code object bytecode parity | https://github.com/RustPython/RustPython/pull/7942#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:bytecode-parity | https://github.com/youknowone/RustPython/tree/bytecode-parity |
|
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| May 20, 2026 | https://github.com/RustPython/RustPython/pull/7942#issue-4490644511 |
| Please reload this page | https://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 page | https://github.com/RustPython/RustPython/pull/7942 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| May 20, 2026 | https://github.com/RustPython/RustPython/pull/7942#issuecomment-4503570023 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| RustPython/RustPython#7773 | https://github.com/RustPython/RustPython/pull/7773 |
| RustPython/RustPython#7930 | https://github.com/RustPython/RustPython/pull/7930 |
| RustPython/RustPython#7578 | https://github.com/RustPython/RustPython/pull/7578 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7942 |
| X | https://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 |
| Mastodon | https://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 |
| Reddit | https://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 |
| LinkedIn | https://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 page | https://github.com/RustPython/RustPython/pull/7942 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| May 21, 2026 00:37 | https://github.com/RustPython/RustPython/pull/7942#event-25782518165 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://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 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4333125354 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 948924a | https://github.com/RustPython/RustPython/commit/948924a14b3b9215c9e7dd6ff7cae9b37e3f55c7 |
| b92d314 | https://github.com/RustPython/RustPython/commit/b92d31481842c10195a6deabcd7d85a5fbd1314b |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| crates/codegen/src/ir.rs | https://github.com/RustPython/RustPython/pull/7942/files#diff-d8c69d86dba0a1bbfb21c9d93371294ea2861a4083565b20e622a7bec7da1ecc |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://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 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4336515930 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| b92d314 | https://github.com/RustPython/RustPython/commit/b92d31481842c10195a6deabcd7d85a5fbd1314b |
| a91674d | https://github.com/RustPython/RustPython/commit/a91674d22fe22e1118e7dfb8be3ed92b2149c48b |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| crates/codegen/src/compile.rs | https://github.com/RustPython/RustPython/pull/7942/files#diff-6a53a11ca0aa1a372032c6b54644b8cda74af0c771efa40d3668da4a042cf7ca |
| coderabbitai | https://github.com/apps/coderabbitai |
| May 21, 2026 | https://github.com/RustPython/RustPython/pull/7942#discussion_r3280822626 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| youknowone | https://github.com/youknowone |
| May 22, 2026 01:43 | https://github.com/RustPython/RustPython/pull/7942#commits-pushed-2c932fa |
|
| https://github.com/youknowone |
| Align nested code object bytecode parity | https://github.com/RustPython/RustPython/pull/7942/commits/2c932fa57e69fc414e1691055abeb34c232ff6d3 |
| 2c932fa | https://github.com/RustPython/RustPython/pull/7942/commits/2c932fa57e69fc414e1691055abeb34c232ff6d3 |
|
| https://github.com/youknowone |
| Align CPython jump-back parity | https://github.com/RustPython/RustPython/pull/7942/commits/522b28dc873bd5a5ad5080fa3fb30a4ab87bea2c |
| 522b28d | https://github.com/RustPython/RustPython/pull/7942/commits/522b28dc873bd5a5ad5080fa3fb30a4ab87bea2c |
|
| https://github.com/youknowone |
| Align match guard block parity with CPython | https://github.com/RustPython/RustPython/pull/7942/commits/22fa3cea92f015e67f4ed8bb42a0d56f32069687 |
| 22fa3ce | https://github.com/RustPython/RustPython/pull/7942/commits/22fa3cea92f015e67f4ed8bb42a0d56f32069687 |
|
| https://github.com/youknowone |
| Align CPython block borrow parity | https://github.com/RustPython/RustPython/pull/7942/commits/573e2446bc48debf74991b978f6dc2dc00bcfa88 |
| 573e244 | https://github.com/RustPython/RustPython/pull/7942/commits/573e2446bc48debf74991b978f6dc2dc00bcfa88 |
|
| https://github.com/youknowone |
| Align CPython load-fast barrier parity | https://github.com/RustPython/RustPython/pull/7942/commits/5c913f24c27496dbcafee5cfbb3cd052235bb5e8 |
| 5c913f2 | https://github.com/RustPython/RustPython/pull/7942/commits/5c913f24c27496dbcafee5cfbb3cd052235bb5e8 |
|
| https://github.com/youknowone |
| Align CPython try-end label parity | https://github.com/RustPython/RustPython/pull/7942/commits/d47209324a5ee6531d0519d54061415d5d43c6c7 |
| d472093 | https://github.com/RustPython/RustPython/pull/7942/commits/d47209324a5ee6531d0519d54061415d5d43c6c7 |
|
| https://github.com/youknowone |
| Align CPython try-except end label barriers | https://github.com/RustPython/RustPython/pull/7942/commits/b470d47d3d8a18ea081ed102c5dccad5210becb8 |
| b470d47 | https://github.com/RustPython/RustPython/pull/7942/commits/b470d47d3d8a18ea081ed102c5dccad5210becb8 |
|
| https://github.com/youknowone |
| Align more CPython bytecode edge cases | https://github.com/RustPython/RustPython/pull/7942/commits/6c48cea68c5652188fbc814b7234338dfe89d2e1 |
| 6c48cea | https://github.com/RustPython/RustPython/pull/7942/commits/6c48cea68c5652188fbc814b7234338dfe89d2e1 |
|
| https://github.com/youknowone |
| Align bare except finally bytecode layout | https://github.com/RustPython/RustPython/pull/7942/commits/4d19a8c7140091a2a57df98d35c2135624e1b5f4 |
| 4d19a8c | https://github.com/RustPython/RustPython/pull/7942/commits/4d19a8c7140091a2a57df98d35c2135624e1b5f4 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| force-pushed | https://github.com/RustPython/RustPython/compare/a91674d22fe22e1118e7dfb8be3ed92b2149c48b..4d19a8c7140091a2a57df98d35c2135624e1b5f4 |
| a91674d | https://github.com/RustPython/RustPython/commit/a91674d22fe22e1118e7dfb8be3ed92b2149c48b |
| 4d19a8c | https://github.com/RustPython/RustPython/commit/4d19a8c7140091a2a57df98d35c2135624e1b5f4 |
|
Compare
| https://github.com/RustPython/RustPython/compare/a91674d22fe22e1118e7dfb8be3ed92b2149c48b..4d19a8c7140091a2a57df98d35c2135624e1b5f4 |
| May 21, 2026 16:43 | https://github.com/RustPython/RustPython/pull/7942#event-25814899777 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| May 21, 2026 | https://github.com/RustPython/RustPython/pull/7942#issuecomment-4510486218 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://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 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7942#pullrequestreview-4338915506 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| a91674d | https://github.com/RustPython/RustPython/commit/a91674d22fe22e1118e7dfb8be3ed92b2149c48b |
| 4d19a8c | https://github.com/RustPython/RustPython/commit/4d19a8c7140091a2a57df98d35c2135624e1b5f4 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| 06f73f2 | https://github.com/RustPython/RustPython/commit/06f73f2ae12a025cc00bf76a2d5f9aaf63c89ca6 |
| May 21, 2026 | https://github.com/RustPython/RustPython/pull/7942#event-25819942688 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7942 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| May 21, 2026 18:53 | https://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 |
| coderabbitai | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/RustPython/RustPython/pull/7942 |
|
| https://github.com/youknowone |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |