Title: Remove duplicated code in `compile.rs` by ShaharNaveh · Pull Request #8141 · RustPython/RustPython · GitHub
Open Graph Title: Remove duplicated code in `compile.rs` by ShaharNaveh · Pull Request #8141 · RustPython/RustPython
X Title: Remove duplicated code in `compile.rs` by ShaharNaveh · Pull Request #8141 · RustPython/RustPython
Description: Closes #xxxx This PR follows our AI policy Summary Summary by CodeRabbit Refactor Refactored constant expression detection logic to improve code organization and maintainability without affecting user-facing functionality.
Open Graph Description: Closes #xxxx This PR follows our AI policy Summary Summary by CodeRabbit Refactor Refactored constant expression detection logic to improve code organization and maintainability without affe...
X Description: Closes #xxxx This PR follows our AI policy Summary Summary by CodeRabbit Refactor Refactored constant expression detection logic to improve code organization and maintainability without affe...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8141
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:594006ce-b35a-2972-3826-5ba9eb450ee4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B50:17973D:DF4A04:12FE2B5:6A61A3D0 |
| html-safe-nonce | 9af7f2486d2f9175b5c3fbe8febf924c2686ef546864fa7c8bc444075fb1702d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjUwOjE3OTczRDpERjRBMDQ6MTJGRTJCNTo2QTYxQTNEMCIsInZpc2l0b3JfaWQiOiIxNzkxNDMxNDU3OTQ2ODM3OTY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a5d4d0d7386a597a26ab0b771770af8d91a45841c71f0bc6aca2db51618121b0 |
| hovercard-subject-tag | pull_request:3910425434 |
| 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/8141/files |
| twitter:image | https://avatars.githubusercontent.com/u/50263213?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/50263213?s=400&v=4 |
| og:image:alt | Closes #xxxx This PR follows our AI policy Summary Summary by CodeRabbit Refactor Refactored constant expression detection logic to improve code organization and maintainability without affe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width