Title: Invalid type inferred for 'or' and 'and' expressions · Issue #17 · python/mypy · GitHub
Open Graph Title: Invalid type inferred for 'or' and 'and' expressions · Issue #17 · python/mypy
X Title: Invalid type inferred for 'or' and 'and' expressions · Issue #17 · python/mypy
Description: The type checker cannot properly deal with or and and operators (it infers the results to be bool, which is obviously very bad).
Open Graph Description: The type checker cannot properly deal with or and and operators (it infers the results to be bool, which is obviously very bad).
X Description: The type checker cannot properly deal with or and and operators (it infers the results to be bool, which is obviously very bad).
Opengraph URL: https://github.com/python/mypy/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid type inferred for 'or' and 'and' expressions","articleBody":"The type checker cannot properly deal with `or` and `and` operators (it infers the results to be bool, which is obviously very bad).\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2012-12-13T10:58:34Z","url":"https://github.com/python/mypy/issues/17"}
| 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:0764987d-b14e-9c4c-d38f-da1a4dac708e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAEA:15E5F9:1F23AA9:2A4F196:6B001A48 |
| html-safe-nonce | 44bc160f62f564d58b4d86d22917891a68e9cd734f57e6982624255a81f5832c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUVBOjE1RTVGOToxRjIzQUE5OjJBNEYxOTY6NkIwMDFBNDgiLCJ2aXNpdG9yX2lkIjoiNDAxMDcyMjM3MjEyMTI3MDg1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b74c58a55cfb79d3df50eb37c88896e2f29319dc3f63dae8b9c50cb985300fa3 |
| hovercard-subject-tag | issue:9248480 |
| 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/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a6d2d27d4446092d1043c0d42458391725271bf9ba22d2dbab60eed4c879f00/python/mypy/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a6d2d27d4446092d1043c0d42458391725271bf9ba22d2dbab60eed4c879f00/python/mypy/issues/17 |
| og:image:alt | The type checker cannot properly deal with or and and operators (it infers the results to be bool, which is obviously very bad). |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width