Title: Add more object c-api's by bschoenmaeckers · Pull Request #8170 · RustPython/RustPython · GitHub
Open Graph Title: Add more object c-api's by bschoenmaeckers · Pull Request #8170 · RustPython/RustPython
X Title: Add more object c-api's by bschoenmaeckers · Pull Request #8170 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Expanded C API surface for object operations, including ASCII/bytes conversion, attribute deletion, generic attribute setting, and richer attribute-existence APIs. Added additional object helpers for negation, hashing, self-iteration, identity checks, and repr enter/leave recursion tracking. Bug Fixes Improved robustness for invalid attribute name text: malformed UTF-8 now raises a proper ValueError instead of triggering unexpected failures. Attribute existence checks now fail safely (returning false while reporting the underlying error) rather than erroring unpredictably. Other Improved rich-compare operator handling and constant lookup behavior.
Open Graph Description: Summary by CodeRabbit New Features Expanded C API surface for object operations, including ASCII/bytes conversion, attribute deletion, generic attribute setting, and richer attribute-existence A...
X Description: Summary by CodeRabbit New Features Expanded C API surface for object operations, including ASCII/bytes conversion, attribute deletion, generic attribute setting, and richer attribute-existence A...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8170
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e4340b4c-94c4-b941-4074-508e28a6eccb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC2E:1CD03B:AABDEA:F51E00:6A59F4DF |
| html-safe-nonce | 7401cacba42651ff5116a106e4eadd1e5318643b0c9dfa97a7ac525074966c3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzJFOjFDRDAzQjpBQUJERUE6RjUxRTAwOjZBNTlGNERGIiwidmlzaXRvcl9pZCI6Ijg5NjYwNTUzMzI3MjQwNTIxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3a1b2fdfe767489316e701d5425af1d7e194de62b4fb671e56afef77e5dabd96 |
| hovercard-subject-tag | pull_request:3937760623 |
| 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/8170/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 C API surface for object operations, including ASCII/bytes conversion, attribute deletion, generic attribute setting, and richer attribute-existence A... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 24801cf86623a319252348d1fd69122ad974b842 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width