Title: ctypes struct/union/array by youknowone · Pull Request #6309 · RustPython/RustPython · GitHub
Open Graph Title: ctypes struct/union/array by youknowone · Pull Request #6309 · RustPython/RustPython
X Title: ctypes struct/union/array by youknowone · Pull Request #6309 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Metaclass-driven Structure and Union types with automatic field processing CArgObject class exposed to ctypes for byref/reference handling Platform-aware _wstring_at_addr attribute for wide-string address resolution Array type multiplication to create nested array types Field descriptors implementing descriptor protocol for access and mutation Bug Fixes byref() now validates input and returns a proper error or CArgObject Improvements Buffer-backed, sequence-enabled arrays with direct byte access and item operations ✏️ Tip: You can customize this high-level summary in your review settings.
Open Graph Description: Summary by CodeRabbit New Features Metaclass-driven Structure and Union types with automatic field processing CArgObject class exposed to ctypes for byref/reference handling Platform-aware _wstr...
X Description: Summary by CodeRabbit New Features Metaclass-driven Structure and Union types with automatic field processing CArgObject class exposed to ctypes for byref/reference handling Platform-aware _wstr...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6309
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:49c4c078-1b3c-56e8-3415-8b475968f4f3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 983A:134C26:1D18E5E:2697AF9:696AFBC0 |
| html-safe-nonce | cf2b480d1040071ea5d9468ca41ff818b2edbaa6a4da78f4b8e1c19587323d23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODNBOjEzNEMyNjoxRDE4RTVFOjI2OTdBRjk6Njk2QUZCQzAiLCJ2aXNpdG9yX2lkIjoiODMxOTE5MDA5ODkyNTc3OTkwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1d1a274504efc78af014a4b4b08e4f09c5d77155a2e8166de8a6fe75ec373ddd |
| hovercard-subject-tag | pull_request:3055172990 |
| 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/6309/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Summary by CodeRabbit New Features Metaclass-driven Structure and Union types with automatic field processing CArgObject class exposed to ctypes for byref/reference handling Platform-aware _wstr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width