Title: Fix PyNumber::boolean by youknowone · Pull Request #6111 · RustPython/RustPython · GitHub
Open Graph Title: Fix PyNumber::boolean by youknowone · Pull Request #6111 · RustPython/RustPython
X Title: Fix PyNumber::boolean by youknowone · Pull Request #6111 · RustPython/RustPython
Description: Summary by CodeRabbit Bug Fixes Corrected boolean evaluation for integers, floats, and complex numbers: non‑zero values now evaluate to True and zero to False. Ensures conditionals, loops, and tr...
Open Graph Description: Summary by CodeRabbit Bug Fixes Corrected boolean evaluation for integers, floats, and complex numbers: non‑zero values now evaluate to True and zero to False. Ensures conditionals, loops, and tr...
X Description: Summary by CodeRabbit Bug Fixes Corrected boolean evaluation for integers, floats, and complex numbers: non‑zero values now evaluate to True and zero to False. Ensures conditionals, loops, and tr...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6111
X: @github
Domain: github.com
| 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:5d6dffec-8e1a-ca5d-dc73-653058742cf6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EA5A:30F550:F354B9:152C24F:696A3367 |
| html-safe-nonce | aa4409a493a41e4298c8f9f169aec2a3f0f340560e44b1e92ce1a1e069cf6678 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTVBOjMwRjU1MDpGMzU0Qjk6MTUyQzI0Rjo2OTZBMzM2NyIsInZpc2l0b3JfaWQiOiIzODAyMzYyMjgxNTIxMTk3OTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 238e07baabb395df2b2383faa02059d1f44f0ba4cdbe53052f720de2e73ec827 |
| hovercard-subject-tag | pull_request:2773863690 |
| 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/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/6111/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9d59b8ac263a5bda58215a853d4c99c389f8ba5a82b4db1168506bb6bf2bf392/RustPython/RustPython/pull/6111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d59b8ac263a5bda58215a853d4c99c389f8ba5a82b4db1168506bb6bf2bf392/RustPython/RustPython/pull/6111 |
| og:image:alt | Summary by CodeRabbit Bug Fixes Corrected boolean evaluation for integers, floats, and complex numbers: non‑zero values now evaluate to True and zero to False. Ensures conditionals, loops, and tr... |
| 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 | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| 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 | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width