Title: prefer nb_bool slot in try_to_bool instead of __bool__ by YashSuthar983 · Pull Request #6328 · RustPython/RustPython · GitHub
Open Graph Title: prefer nb_bool slot in try_to_bool instead of __bool__ by YashSuthar983 · Pull Request #6328 · RustPython/RustPython
X Title: prefer nb_bool slot in try_to_bool instead of __bool__ by YashSuthar983 · Pull Request #6328 · RustPython/RustPython
Description: Fixed: #6113 Summary by CodeRabbit Chores Improved boolean evaluation performance by adding a faster internal path for boolean checks. Bug Fixes Preserved and unified error behavior for invalid boolean/length results so type and value errors remain consistent. ✏️ Tip: You can customize this high-level summary in your review settings.
Open Graph Description: Fixed: #6113 Summary by CodeRabbit Chores Improved boolean evaluation performance by adding a faster internal path for boolean checks. Bug Fixes Preserved and unified error behavior for inval...
X Description: Fixed: #6113 Summary by CodeRabbit Chores Improved boolean evaluation performance by adding a faster internal path for boolean checks. Bug Fixes Preserved and unified error behavior for inval...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6328
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:7d7cca76-7f08-3b3a-6458-b68b1ec3628c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EC74:250E38:3CB85:4C912:696AF900 |
| html-safe-nonce | 8467b0c483b6bc2da17180d789adaa76b7e8d991c40835b43346ec5ad7fdb2d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzc0OjI1MEUzODozQ0I4NTo0QzkxMjo2OTZBRjkwMCIsInZpc2l0b3JfaWQiOiIyMDI4MjA3MjQ1NDA4MDA4NDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b837e77897202685b2a4095802b8403c3a91ad0ee0e2fa51cdff175eda2e1966 |
| hovercard-subject-tag | pull_request:3072836567 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/6328/checks |
| twitter:image | https://avatars.githubusercontent.com/u/183753953?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/183753953?s=400&v=4 |
| og:image:alt | Fixed: #6113 Summary by CodeRabbit Chores Improved boolean evaluation performance by adding a faster internal path for boolean checks. Bug Fixes Preserved and unified error behavior for inval... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width