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: 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 behaviors (including async comprehensions). Fixed class-name mangling for underscore-only class names. Tests Added and updated unit tests to assert CPython-like instruction layout and borrow/load-fast behavior. Tooling Stabilized disassembly constant representations for cross-interpreter consistency. Chores Minor public API/compatibility adjustment in code-generation exports.
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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:239dd2ab-465a-5867-49e2-10d6e59e4dd8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B662:134106:352E05:4642B2:6A5B860D |
| html-safe-nonce | 6de24841b9387bfcf5e0833e3d7bd565b933550acc8944e7c59536904d3ce914 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjYyOjEzNDEwNjozNTJFMDU6NDY0MkIyOjZBNUI4NjBEIiwidmlzaXRvcl9pZCI6IjIzMDg4NjAyNTEyOTMzMjA3MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | db548fa73acab74da8c41f1f2120df1f8bf193f081d84403564e61654c90415b |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/7942/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
Links:
Viewport: width=device-width