Title: Raise `BadPythonDllException` instead of confusing `TypeLoadException` when `PythonDLL` was not configured properly by lostmsu · Pull Request #1577 · pythonnet/pythonnet · GitHub
Open Graph Title: Raise `BadPythonDllException` instead of confusing `TypeLoadException` when `PythonDLL` was not configured properly by lostmsu · Pull Request #1577 · pythonnet/pythonnet
X Title: Raise `BadPythonDllException` instead of confusing `TypeLoadException` when `PythonDLL` was not configured properly by lostmsu · Pull Request #1577 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. This handles failure to load internal Delegates type due to misconfigured PythonDLL, which used to raise TypeLoadException whose InnerException would give users the details. Unfortunately, some users do not bother to go as far as to look into the InnerException, and instead go straight to GitHub and report "a bug". This change handles that TypeLoadException and rethrows it as BadPythonDllException in major entry points, which makes looking into InnerException unnecessary, hopefully reducing the number of "bugs" 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. This handles failure to load internal Delegates type due to misconfigured PythonDLL, which used to raise TypeLoadException whose InnerException w...
X Description: What does this implement/fix? Explain your changes. This handles failure to load internal Delegates type due to misconfigured PythonDLL, which used to raise TypeLoadException whose InnerException w...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1577
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:fb6d4ec8-2673-9a03-11e7-2319d2a63d52 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 889E:1BE7AD:20EB5F3:2B8A4E4:6971AECC |
| html-safe-nonce | 8f5cd15cb8fce370fee28bf88ff31fe86f54ee0181001e50ade162b1f74e6eb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODlFOjFCRTdBRDoyMEVCNUYzOjJCOEE0RTQ6Njk3MUFFQ0MiLCJ2aXNpdG9yX2lkIjoiODc3MjcwNjI3NDIxNTMwOTAwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ca2fbba9027e5a6ed69d665e0f9815710ce9f1aa8a4d3d72dfeb8bcb2e5e72b4 |
| hovercard-subject-tag | pull_request:745352412 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/1577/checks |
| 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. This handles failure to load internal Delegates type due to misconfigured PythonDLL, which used to raise TypeLoadException whose InnerException w... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 979375c570cc30aefe2a734083debe402a612209 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width