Title: Fix negative narrowing of tuples in match statement by brianschubert · Pull Request #17817 · python/mypy · GitHub
Open Graph Title: Fix negative narrowing of tuples in match statement by brianschubert · Pull Request #17817 · python/mypy
X Title: Fix negative narrowing of tuples in match statement by brianschubert · Pull Request #17817 · python/mypy
Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
Open Graph Description: Fixes #17328 Before Lines marked with !!! denote incorrect behavior. (Playground link) from typing import Literal m4: tuple[Literal[1], int] match m4: case (1, 5): reveal_type(m4) # N...
X Description: Fixes #17328 Before Lines marked with !!! denote incorrect behavior. (Playground link) from typing import Literal m4: tuple[Literal[1], int] match m4: case (1, 5): reveal_type(m4) # N...
Opengraph URL: https://github.com/python/mypy/pull/17817
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3ae233a2-7d39-8d9b-5c27-e0ecd6feeb76 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D260:366F88:5C5165:84B6E1:6A577EA9 |
| html-safe-nonce | 92e6b490a06a1c99009f1761d82d7e9dc8ddce63a9f49ba6e5e7925a5f8b7a15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjYwOjM2NkY4ODo1QzUxNjU6ODRCNkUxOjZBNTc3RUE5IiwidmlzaXRvcl9pZCI6IjY0OTcyMTkwMjg3MTI5MTQ2MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e8faa70ac55aabdfa1b51ef6da37ae2dece137b694548aeb10155ea27145f42 |
| hovercard-subject-tag | pull_request:2089753356 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/python/mypy/17817/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d3ebf665b7e5c9e67c17ed2d1a8078a83f86c57cfa783b79790d265e05fa74b0/python/mypy/pull/17817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d3ebf665b7e5c9e67c17ed2d1a8078a83f86c57cfa783b79790d265e05fa74b0/python/mypy/pull/17817 |
| og:image:alt | Fixes #17328 Before Lines marked with !!! denote incorrect behavior. (Playground link) from typing import Literal m4: tuple[Literal[1], int] match m4: case (1, 5): reveal_type(m4) # N... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brianschubert |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6353e56e94423c9cd5abde7708a859afa36a0c1203c73749055bf6ee6704cd0 |
| turbo-cache-control | no-cache |
| 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 | 9a9dfe2eff5c790a030f34cfcc89b4bf3ba08c7c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width