Title: Add more mapping functions to c-api by bschoenmaeckers · Pull Request #8169 · RustPython/RustPython · GitHub
Open Graph Title: Add more mapping functions to c-api by bschoenmaeckers · Pull Request #8169 · RustPython/RustPython
X Title: Add more mapping functions to c-api by bschoenmaeckers · Pull Request #8169 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Extended the C API with additional mapping helpers: mapping checks, getting/setting items by UTF-8 string keys, and computing mapping length. Added optional lookup functions that return a not-found result (instead of raising) when a key is missing. Added key-existence checks with *WithError variants for precise failure handling, including defined behavior for invalid UTF-8 input.
Open Graph Description: Summary by CodeRabbit New Features Extended the C API with additional mapping helpers: mapping checks, getting/setting items by UTF-8 string keys, and computing mapping length. Added optional loo...
X Description: Summary by CodeRabbit New Features Extended the C API with additional mapping helpers: mapping checks, getting/setting items by UTF-8 string keys, and computing mapping length. Added optional loo...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8169
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9f2e359e-8688-8b93-e346-16753adc3235 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B2C4:23BE1E:22C3BFD:2EA0403:6A59A1B2 |
| html-safe-nonce | 357445c9757583ff608663b4872560a4a440a4b9c0f473bda463e7f73e44ce48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkM0OjIzQkUxRToyMkMzQkZEOjJFQTA0MDM6NkE1OUExQjIiLCJ2aXNpdG9yX2lkIjoiMzg4MDQ3NjQ3NTI0Njg3OTE1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee0c98b0e2db4bd804b4dabb135782168d694bd15d7ef562bd8626714f98361f |
| hovercard-subject-tag | pull_request:3934978310 |
| 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/8169/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 Extended the C API with additional mapping helpers: mapping checks, getting/setting items by UTF-8 string keys, and computing mapping length. Added optional loo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| 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 | 0b971869dd75eec26500a9de7e85b8137c6bf0f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width