Title: Add more dict functions to c-api by bschoenmaeckers · Pull Request #8269 · RustPython/RustPython · GitHub
Open Graph Title: Add more dict functions to c-api by bschoenmaeckers · Pull Request #8269 · RustPython/RustPython
X Title: Add more dict functions to c-api by bschoenmaeckers · Pull Request #8269 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Expanded dictionary support in the C API with clear, set, get, and delete operations. Added UTF-8 char* key variants for string-key interop, including a reference-style lookup with a hit/miss success flag. Introduced error-aware vs raw lookups, with clearer behavior for misses and propagated errors. Bug Fixes Improved handling of invalid UTF-8 keys by raising appropriate Python decoding exceptions.
Open Graph Description: Summary by CodeRabbit New Features Expanded dictionary support in the C API with clear, set, get, and delete operations. Added UTF-8 char* key variants for string-key interop, including a refere...
X Description: Summary by CodeRabbit New Features Expanded dictionary support in the C API with clear, set, get, and delete operations. Added UTF-8 char* key variants for string-key interop, including a refere...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8269
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c3364930-6a2b-88c8-1805-b28e70b2766d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACBA:52BFD:ACAF1F:F97983:6A58CE01 |
| html-safe-nonce | 351c3a880bd8462eba762b1af12db01669709378de47073bf272598459b2602d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0JBOjUyQkZEOkFDQUYxRjpGOTc5ODM6NkE1OENFMDEiLCJ2aXNpdG9yX2lkIjoiNjkyMTA4OTU2MTYwODYzNzk1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30e12301662b4df5099ae85818cfe25a646dbed9a402927c64dc7800b8b6e5c4 |
| hovercard-subject-tag | pull_request:4044514441 |
| 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/8269/files |
| twitter:image | https://avatars.githubusercontent.com/u/7943856?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7943856?s=400&v=4 |
| og:image:alt | Summary by CodeRabbit New Features Expanded dictionary support in the C API with clear, set, get, and delete operations. Added UTF-8 char* key variants for string-key interop, including a refere... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width