Title: Allow decoding instanceless exceptions by lostmsu · Pull Request #1544 · pythonnet/pythonnet · GitHub
Open Graph Title: Allow decoding instanceless exceptions by lostmsu · Pull Request #1544 · pythonnet/pythonnet
X Title: Allow decoding instanceless exceptions by lostmsu · Pull Request #1544 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. Added new Python class clr.interop.PyErr with optional type, value, and traceback attributes. User can register decoders for it, that would let them decode instanceless (and even typeless) Python exceptions. These decoders will be invoked before the regular exception instance decoders. This allows decoding exceptions before they are normalized (which is not always possible). Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Updated the CHANGELOG
Open Graph Description: What does this implement/fix? Explain your changes. Added new Python class clr.interop.PyErr with optional type, value, and traceback attributes. User can register decoders for it, that would let t...
X Description: What does this implement/fix? Explain your changes. Added new Python class clr.interop.PyErr with optional type, value, and traceback attributes. User can register decoders for it, that would let t...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1544
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d7342a4f-220c-d7d8-8f56-bab1d4c1ae13 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A060:3E5B37:1A1C51A:2490108:6970DCEE |
| html-safe-nonce | 0644ce17ab150bbae0b7060978084f30b444a08f79d767922f79ce9557fd04e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDYwOjNFNUIzNzoxQTFDNTFBOjI0OTAxMDg6Njk3MERDRUUiLCJ2aXNpdG9yX2lkIjoiMTQ3Nzk3NDkwNDg5ODkwMzI3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96f345799bef757280a4d5cf1c7f365da76748ec3eff0865adfc6837ed34b8a9 |
| hovercard-subject-tag | pull_request:727451491 |
| 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/pythonnet/pythonnet/pull/1544/files |
| twitter:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. Added new Python class clr.interop.PyErr with optional type, value, and traceback attributes. User can register decoders for it, that would let t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9203e7efc62065329c3b7015a1e6d16fc14bce440abec7b0d3cbe9e4fb1e2e4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | eb3c92b74ae48a78cffd8700b8eb5f60bad61528 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width