Title: Bytecode parity - for-loop cleanup, return duplication, late jump threading fix by youknowone · Pull Request #7580 · RustPython/RustPython · GitHub
Open Graph Title: Bytecode parity - for-loop cleanup, return duplication, late jump threading fix by youknowone · Pull Request #7580 · RustPython/RustPython
X Title: Bytecode parity - for-loop cleanup, return duplication, late jump threading fix by youknowone · Pull Request #7580 · RustPython/RustPython
Description: Use POP_TOP instead of POP_ITER for for-loop break/return cleanup Expand duplicate_end_returns to clone final return for jump predecessors Restrict late jump threading pass to unconditional jumps only Skip exception blocks in inline/reorder passes Simplify threaded_jump_instr NoInterrupt handling Summary by CodeRabbit New Features AST objects gain a public deepcopy for reliable deep copies. Bug Fixes More robust traceback generation when location data is missing. Fixes to generator/coroutine finalization and frame cleanup. Corrected comparison behavior to honor boolean coercion where expected. Safer OS write loop handling of interruptions. Performance Improved bytecode control-flow optimizations and jump threading. Tests Added threading-related tests exercising threaded imports and exec.
Open Graph Description: Use POP_TOP instead of POP_ITER for for-loop break/return cleanup Expand duplicate_end_returns to clone final return for jump predecessors Restrict late jump threading pass to unconditional jumps o...
X Description: Use POP_TOP instead of POP_ITER for for-loop break/return cleanup Expand duplicate_end_returns to clone final return for jump predecessors Restrict late jump threading pass to unconditional jumps o...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7580
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b920ddc-1351-b029-6a1c-f7f7e02e79c8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CEC:20DA71:1BD18B4:24919F0:6A5C87AC |
| html-safe-nonce | 7bf7ecd388f253da54e2d0804f7a0c58b3422f00a3efa2c08589d544a5494e65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0VDOjIwREE3MToxQkQxOEI0OjI0OTE5RjA6NkE1Qzg3QUMiLCJ2aXNpdG9yX2lkIjoiMTgxNTczMDUyMzE4NjQzMTkxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 89aded7ef7957890f9f11857a0e373a052db81bcdf18b6f20a0fd92d78792d04 |
| hovercard-subject-tag | pull_request:3513590037 |
| 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/7580/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 | Use POP_TOP instead of POP_ITER for for-loop break/return cleanup Expand duplicate_end_returns to clone final return for jump predecessors Restrict late jump threading pass to unconditional jumps o... |
| 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