Title: Better error messages from PyObject.AsManagedObject and DelegateManager.TrueDispatch by tminka · Pull Request #1344 · pythonnet/pythonnet · GitHub
Open Graph Title: Better error messages from PyObject.AsManagedObject and DelegateManager.TrueDispatch by tminka · Pull Request #1344 · pythonnet/pythonnet
X Title: Better error messages from PyObject.AsManagedObject and DelegateManager.TrueDispatch by tminka · Pull Request #1344 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. When Converter.ToManaged is called in a context where it must succeed, we can get a more precise error message by calling it with setError=true. This PR makes that change in two places. Does this close any currently open issues? No Any other comments? There are a few other places where a similar change could be made. 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 Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: What does this implement/fix? Explain your changes. When Converter.ToManaged is called in a context where it must succeed, we can get a more precise error message by calling it with setError=true. ...
X Description: What does this implement/fix? Explain your changes. When Converter.ToManaged is called in a context where it must succeed, we can get a more precise error message by calling it with setError=true. ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1344
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:003c7cdc-aa43-3d84-6c62-4dd058885912 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EABE:C8498:24DDAE2:33E74C9:6970F2B7 |
| html-safe-nonce | 1231af12af94345ef9d7b1eede28a136200b717690bf4b297a20e7f16d4a926e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUJFOkM4NDk4OjI0RERBRTI6MzNFNzRDOTo2OTcwRjJCNyIsInZpc2l0b3JfaWQiOiI2MTQ0MzkzNDIyNDUxMDQ1MDQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 240e50e366e9b6a6b8cc43edabe0f1ba9c5f7c6f3830f9f004278dc8a2964e55 |
| hovercard-subject-tag | pull_request:548529185 |
| 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/1344/files |
| twitter:image | https://avatars.githubusercontent.com/u/8955276?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8955276?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. When Converter.ToManaged is called in a context where it must succeed, we can get a more precise error message by calling it with setError=true. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b6ca3cb96fa07d8a62b95d681f9dc8fffb49a43f4fea2a5bcac6d8f5107cbf4e |
| 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 | d2448578278810c7bf94faa67651ef5adb1abfde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width