Title: Implemented dynamic equality and inequality for `PyObject` instances by lostmsu · Pull Request #1849 · pythonnet/pythonnet · GitHub
Open Graph Title: Implemented dynamic equality and inequality for `PyObject` instances by lostmsu · Pull Request #1849 · pythonnet/pythonnet
X Title: Implemented dynamic equality and inequality for `PyObject` instances by lostmsu · Pull Request #1849 · pythonnet/pythonnet
Description: Also fixed unhandled Python errors during comparison attempts What does this implement/fix? Explain your changes. For == and != operators in C# to use Python equality PyObject must implement operator == and operator !=. C# ignores TryBinaryOperation implementation for equality comparisons. The "also" part clears Python error when comparison can not be performed. Does this close any currently open issues? #1848 Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change Updated the CHANGELOG
Open Graph Description: Also fixed unhandled Python errors during comparison attempts What does this implement/fix? Explain your changes. For == and != operators in C# to use Python equality PyObject must implement operat...
X Description: Also fixed unhandled Python errors during comparison attempts What does this implement/fix? Explain your changes. For == and != operators in C# to use Python equality PyObject must implement operat...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1849
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:efef97f1-725b-e77d-34ba-d8da8b6ca0a1 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D70A:E86F7:3091BF5:313C2E3:69702E7E |
| html-safe-nonce | 9c34d2df7766602db4eb4251d9c21bf4935e26bb9407521ec5beb94c8beba963 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzBBOkU4NkY3OjMwOTFCRjU6MzEzQzJFMzo2OTcwMkU3RSIsInZpc2l0b3JfaWQiOiIyNzk2NDc1MzQzMTk2NzcwNTQiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | ecc231d884015540807e9abdf27f803988a598cff6680dd6fe6f3846b7d0df08 |
| hovercard-subject-tag | pull_request:984342576 |
| 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/1849/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 | Also fixed unhandled Python errors during comparison attempts What does this implement/fix? Explain your changes. For == and != operators in C# to use Python equality PyObject must implement operat... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc |
| 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 | dda91974c069382b0dfa47b2da7e28bd061c8331 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width