Title: Refactor operator method access and protocol checks to use checkmember.py · Issue #5136 · python/mypy · GitHub
Open Graph Title: Refactor operator method access and protocol checks to use checkmember.py · Issue #5136 · python/mypy
X Title: Refactor operator method access and protocol checks to use checkmember.py · Issue #5136 · python/mypy
Description: Currently code that checks access to dunder operator methods duplicates code in checkmember.py. Apart from code duplication, the code for operators is more simplistic and doesn't cover some corner cases. A similar situation is with acces...
Open Graph Description: Currently code that checks access to dunder operator methods duplicates code in checkmember.py. Apart from code duplication, the code for operators is more simplistic and doesn't cover some corner ...
X Description: Currently code that checks access to dunder operator methods duplicates code in checkmember.py. Apart from code duplication, the code for operators is more simplistic and doesn't cover some cor...
Opengraph URL: https://github.com/python/mypy/issues/5136
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refactor operator method access and protocol checks to use checkmember.py","articleBody":"Currently code that checks access to dunder operator methods duplicates code in `checkmember.py`. Apart from code duplication, the code for operators is more simplistic and doesn't cover some corner cases. A similar situation is with accessing attributes for protocol checks.\r\n\r\nThe common pattern in both cases is that we need almost the same logic as in `checkmember.py`, but with some steps skipped and error reporting suppressed.","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2018-06-02T22:45:33Z","url":"https://github.com/python/mypy/issues/5136"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:52c4b1f3-726a-fa74-beb2-534aabfc7e72 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86B6:34BCDE:E6C650:12EC53F:6AFFF262 |
| html-safe-nonce | 02ce5a65b397f8771a635dfcd98c7ef0b72d2d5d6ae38863831e09a4f940596e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkI2OjM0QkNERTpFNkM2NTA6MTJFQzUzRjo2QUZGRjI2MiIsInZpc2l0b3JfaWQiOiI2MjcyMTc1NDM4MzM2ODgxMjUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eadb6d25955640498eb0477f8315102adead419baafd174072dd95b95be98b30 |
| hovercard-subject-tag | issue:328783235 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/mypy/5136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bd40986b7c7ef5efc5630562d35e6001b16fc039ffa646fe6a8060cc1fa0c5ca/python/mypy/issues/5136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd40986b7c7ef5efc5630562d35e6001b16fc039ffa646fe6a8060cc1fa0c5ca/python/mypy/issues/5136 |
| og:image:alt | Currently code that checks access to dunder operator methods duplicates code in checkmember.py. Apart from code duplication, the code for operators is more simplistic and doesn't cover some corner ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width