Title: Add more error functions to the c-api by bschoenmaeckers · Pull Request #8248 · RustPython/RustPython · GitHub
Open Graph Title: Add more error functions to the c-api by bschoenmaeckers · Pull Request #8248 · RustPython/RustPython
X Title: Add more error functions to the c-api by bschoenmaeckers · Pull Request #8248 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Expanded native C-API for exception management, including traceback setting, handled exceptions, exc_info, and interrupt/signal helpers. Added OS-error helpers to construct exception instances from errno and Windows error codes, with optional filename context. Introduced C-ABI constructors and accessors for Unicode decode/encode/translate error objects. Bug Fixes Improved traceback handling, including normalization of “None” traceback. Enhanced EINTR signal checking and stricter validation/clamping for Unicode error fields. Chores Refined infallible FFI error propagation when setting exceptions.
Open Graph Description: Summary by CodeRabbit New Features Expanded native C-API for exception management, including traceback setting, handled exceptions, exc_info, and interrupt/signal helpers. Added OS-error helpers ...
X Description: Summary by CodeRabbit New Features Expanded native C-API for exception management, including traceback setting, handled exceptions, exc_info, and interrupt/signal helpers. Added OS-error helpers ...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8248
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:26a655d1-d2cc-952c-de3b-8297e1c49335 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D644:3EDB51:86D8CC:B3A93A:6A5B54B6 |
| html-safe-nonce | 0152eb96bfbe5ed9f559dce4ea3a12907e3cd8811163ee9a471f3b85d98bcefb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjQ0OjNFREI1MTo4NkQ4Q0M6QjNBOTNBOjZBNUI1NEI2IiwidmlzaXRvcl9pZCI6IjY4MDUwODYxNzQ2MTAyODAyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8100545452b28c7a970033b15a58778de52db5e0ef151e29399f30745291b77 |
| hovercard-subject-tag | pull_request:4030507386 |
| 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/8248/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 native C-API for exception management, including traceback setting, handled exceptions, exc_info, and interrupt/signal helpers. Added OS-error helpers ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width