Title: Fix checking of match sequence pattern against bounded type variables by brianschubert · Pull Request #18091 · python/mypy · GitHub
Open Graph Title: Fix checking of match sequence pattern against bounded type variables by brianschubert · Pull Request #18091 · python/mypy
X Title: Fix checking of match sequence pattern against bounded type variables by brianschubert · Pull Request #18091 · python/mypy
Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
Open Graph Description: Fixes #18089 Adds handling for bounded type variables when checking match sequence patterns. Previously, this crashed. Now, this correctly narrows the upper bound of the type variable: from typing ...
X Description: Fixes #18089 Adds handling for bounded type variables when checking match sequence patterns. Previously, this crashed. Now, this correctly narrows the upper bound of the type variable: from typing ...
Opengraph URL: https://github.com/python/mypy/pull/18091
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:a7b95c5a-6a08-7bfb-fedb-d8f18f37f578 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E9E0:8CD90:31B268:44DE5A:6A5868BC |
| html-safe-nonce | 858c1d3a091ae1c06e67de6e15a5d6b6b09a4807d0567401133b0fdb31b12af3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUUwOjhDRDkwOjMxQjI2ODo0NERFNUE6NkE1ODY4QkMiLCJ2aXNpdG9yX2lkIjoiMzk2ODc3OTczMTU0MjIzOTQyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a78311cca9fea962da1f4044e7cfb8f4516b57dff8400c9130c29c17a8463ccd |
| hovercard-subject-tag | pull_request:2159267737 |
| 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/18091/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5caaf5792c32c42c9dddd5b82bc92137e3c6dea91fe8263fcba64d27daa4c497/python/mypy/pull/18091 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5caaf5792c32c42c9dddd5b82bc92137e3c6dea91fe8263fcba64d27daa4c497/python/mypy/pull/18091 |
| og:image:alt | Fixes #18089 Adds handling for bounded type variables when checking match sequence patterns. Previously, this crashed. Now, this correctly narrows the upper bound of the type variable: from typing ... |
| 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 | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width