Title: Allow decoders to decode Python types derived from primitives by lostmsu · Pull Request #1986 · pythonnet/pythonnet · GitHub
Open Graph Title: Allow decoders to decode Python types derived from primitives by lostmsu · Pull Request #1986 · pythonnet/pythonnet
X Title: Allow decoders to decode Python types derived from primitives by lostmsu · Pull Request #1986 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. When a Python instance needs to be converted to System.Object, and the Python type is derived from one of the primitives (e.g. numpy.float64 is derived from float), allow a custom decoder to override the default behavior (which would have been converting to System.Double). Does this close any currently open issues? It addresses the primary concern of #1957 Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change
Open Graph Description: What does this implement/fix? Explain your changes. When a Python instance needs to be converted to System.Object, and the Python type is derived from one of the primitives (e.g. numpy.float64 is d...
X Description: What does this implement/fix? Explain your changes. When a Python instance needs to be converted to System.Object, and the Python type is derived from one of the primitives (e.g. numpy.float64 is d...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1986
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bece43d1-1029-5e92-1142-a40478f38078 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B208:1F10E2:F43D8C:15842B5:69726071 |
| html-safe-nonce | 7eee913b68b10578a473e9b587e863e9119c278b036bbbb2f3be92d72b1f1e07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjA4OjFGMTBFMjpGNDNEOEM6MTU4NDJCNTo2OTcyNjA3MSIsInZpc2l0b3JfaWQiOiI2ODk5OTcwNzI2MzYyNzY3NDczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cf23f1457864ac9d8bed90d6d7df81d1c208f96a5072e7e9fd85b3ab794853f5 |
| hovercard-subject-tag | pull_request:1097746868 |
| 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/1986/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. When a Python instance needs to be converted to System.Object, and the Python type is derived from one of the primitives (e.g. numpy.float64 is d... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab2c8e6ec49d8737f6bf007a86b2c4a2bc434bba562c524e0c76465bc9ed358b |
| 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 | 52bb8e0c9f4e51b63385b80feac0e6ba25e8dbd5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width