Title: Make `OpArgType::from_op_arg` to return a `Result
Open Graph Title: Make `OpArgType::from_op_arg` to return a `Result
X Title: Make `OpArgType::from_op_arg` to return a `Result
Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Open Graph Description: This will allow us to use num_enum crate with a custom error, I'll do it in a followup PR Summary by CodeRabbit Refactor Improved internal error handling in the compiler's bytecode instr...
X Description: This will allow us to use num_enum crate with a custom error, I'll do it in a followup PR Summary by CodeRabbit Refactor Improved internal error handling in the compiler's byteco...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6914
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:73a3e08a-9d5c-b158-8649-cf1611ed25e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E9F6:372142:AE6FF9:E45E3D:6A5C2137 |
| html-safe-nonce | 00a1b6c12a309c983a1ae977d1819ac48a3dce3b2276e4d900488798bc6d789b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUY2OjM3MjE0MjpBRTZGRjk6RTQ1RTNEOjZBNUMyMTM3IiwidmlzaXRvcl9pZCI6IjYxMjI1NTIzOTE2NTk3Njg4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 57b83bc9bb0cf8ad4fbfa42165a9335259e5d7bf18de29c60802773bac5f4e2d |
| hovercard-subject-tag | pull_request:3230792103 |
| 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/6914/commits |
| twitter:image | https://opengraph.githubassets.com/d2d0da11da962f5ee54646edd486c487e0be58f932b48c7d9a6c60c944657787/RustPython/RustPython/pull/6914 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d2d0da11da962f5ee54646edd486c487e0be58f932b48c7d9a6c60c944657787/RustPython/RustPython/pull/6914 |
| og:image:alt | This will allow us to use num_enum crate with a custom error, I'll do it in a followup PR Summary by CodeRabbit Refactor Improved internal error handling in the compiler's bytecode instr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ShaharNaveh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| 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 | false |
| 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