Title: Disabled `float` and `bool` implicit conversions by lostmsu · Pull Request #1584 · pythonnet/pythonnet · GitHub
Open Graph Title: Disabled `float` and `bool` implicit conversions by lostmsu · Pull Request #1584 · pythonnet/pythonnet
X Title: Disabled `float` and `bool` implicit conversions by lostmsu · Pull Request #1584 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. Disabled using __float__ during implicit conversions to .NET floating-point types. Explicit conversion is possible in Python with float(val) and .NET with (double)dynamicPyObj. Arbitrary Python objects are no longer implicitly converted to .NET bool type. Does this close any currently open issues? this is a continuation of #1568 related to #1539 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. Disabled using __float__ during implicit conversions to .NET floating-point types. Explicit conversion is possible in Python with float(val) and ...
X Description: What does this implement/fix? Explain your changes. Disabled using __float__ during implicit conversions to .NET floating-point types. Explicit conversion is possible in Python with float(val) and ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1584
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d6946b8b-5a85-3259-df89-a1008db550a5 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 96F4:2AB445:D6927D:129BFB4:6970C08C |
| html-safe-nonce | 599b4c0714b67d253d15ca97191468a95020b2001869298c1c7c74b15d5d9530 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkY0OjJBQjQ0NTpENjkyN0Q6MTI5QkZCNDo2OTcwQzA4QyIsInZpc2l0b3JfaWQiOiI0NDM1MDYyOTI0NzM2Nzc0Mjg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c407a9c93ff8dff22c69b7bfff3b5576ee4dcee929fa62e863523ed8804ba2dd |
| hovercard-subject-tag | pull_request:748166915 |
| 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/1584/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. Disabled using __float__ during implicit conversions to .NET floating-point types. Explicit conversion is possible in Python with float(val) and ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | bb43a7bc61aba1b91c3c5cf8e7d00342e1e77a0cfe55a141222dbd7f9782d26f |
| 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 | 34817b01ad7cdf8b2beb35ea7b0e2a7609004eff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width