| 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/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:6eb8c7e8-3e5d-95ad-61b6-dcb3882f343a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B858:1AEC58:380E8B:4B7FDE:6B002907 |
| html-safe-nonce | a27d3ae3fe1f57c1796acd5f1dec6952e9e7dbc85dba8d5cb8f294585500c1a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODU4OjFBRUM1ODozODBFOEI6NEI3RkRFOjZCMDAyOTA3IiwidmlzaXRvcl9pZCI6IjIwNDM4MDcxMjA3MDQ0MTYwMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 40e2883fc231f24da7d477b674e9ad376d46229f4fb861d3fdf48f74d1fbba3a |
| hovercard-subject-tag | pull_request:2556770502 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/19183/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/174389ce1f39f39592ba23c1264e6a63cb00cfcd3a639a37cbcb5d6a373893f8/python/mypy/pull/19183 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/174389ce1f39f39592ba23c1264e6a63cb00cfcd3a639a37cbcb5d6a373893f8/python/mypy/pull/19183 |
| og:image:alt | Fixes #5720
Fixes #8556
Fixes #9778
Fixes #10003
Fixes #10817
Fixes #11163
Fixes #11664
Fixes #12882
Fixes #13426
Fixes #13462
Fixes #14941
Fixes #15151
Fixes #19166
This handles a (surprisingly) c... |
| 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 | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/mypy/pull/19183#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19183 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19183 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy |
| Reload | https://github.com/python/mypy/pull/19183 |
| Reload | https://github.com/python/mypy/pull/19183 |
| Reload | https://github.com/python/mypy/pull/19183 |
| python | https://github.com/python |
| mypy | https://github.com/python/mypy |
| Code | https://github.com/python/mypy |
| Issues2.7k (2.7k) | https://github.com/python/mypy/issues |
| Pull requests547 (547) | https://github.com/python/mypy/pulls |
| Actions | https://github.com/python/mypy/actions |
| Projects | https://github.com/python/mypy/projects |
| Wiki | https://github.com/python/mypy/wiki |
| Security and quality | https://github.com/python/mypy/security |
| Insights | https://github.com/python/mypy/insights |
| https://github.com/python/mypy |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/mypy/tree/master |
| ilevkivskyi:narrow-typevar-bounds | https://github.com/ilevkivskyi/mypy/tree/narrow-typevar-bounds |
| Conversation | https://github.com/python/mypy/pull/19183 |
| Commits5 (5) | https://github.com/python/mypy/pull/19183/commits |
| Checks | https://github.com/python/mypy/pull/19183/checks |
| Files changed | https://github.com/python/mypy/pull/19183/files |
| Narrow type variable bounds in binder | https://github.com/python/mypy/pull/19183#top |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/mypy/tree/master |
| ilevkivskyi:narrow-typevar-bounds | https://github.com/ilevkivskyi/mypy/tree/narrow-typevar-bounds |
|
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| May 31, 2025 | https://github.com/python/mypy/pull/19183#issue-3105527273 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| #5720 | https://github.com/python/mypy/issues/5720 |
| #8556 | https://github.com/python/mypy/issues/8556 |
| #9778 | https://github.com/python/mypy/issues/9778 |
| #10003 | https://github.com/python/mypy/issues/10003 |
| #10817 | https://github.com/python/mypy/issues/10817 |
| #11163 | https://github.com/python/mypy/issues/11163 |
| #11664 | https://github.com/python/mypy/issues/11664 |
| #12882 | https://github.com/python/mypy/issues/12882 |
| #13426 | https://github.com/python/mypy/issues/13426 |
| #13462 | https://github.com/python/mypy/issues/13462 |
| #14941 | https://github.com/python/mypy/issues/14941 |
| #15151 | https://github.com/python/mypy/issues/15151 |
| #19166 | https://github.com/python/mypy/issues/19166 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
|
| https://github.com/ilevkivskyi |
| Narrow type variable bounds in binder | https://github.com/python/mypy/pull/19183/commits/fd8d1cdb9111b77ad16aee6377d2d85080a0f648 |
| fd8d1cd | https://github.com/python/mypy/pull/19183/commits/fd8d1cdb9111b77ad16aee6377d2d85080a0f648 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19183 |
|
| https://github.com/ilevkivskyi |
| Reorder branches in narrowing logic | https://github.com/python/mypy/pull/19183/commits/e2fadecbfbf44132087a777bc3f63ab10b22598f |
| e2fadec | https://github.com/python/mypy/pull/19183/commits/e2fadecbfbf44132087a777bc3f63ab10b22598f |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19183 |
|
| https://github.com/ilevkivskyi |
| Use a bit more principled handling of unions | https://github.com/python/mypy/pull/19183/commits/fcc9af6569c2a4d308d115adccafa1ae31266f22 |
| fcc9af6 | https://github.com/python/mypy/pull/19183/commits/fcc9af6569c2a4d308d115adccafa1ae31266f22 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19183 |
|
Checking Generic Type at Runtime
#13053
| https://github.com/python/mypy/issues/13053 |
|
Narrowing doesn't work on a typevar with a union bound
#15631
| https://github.com/python/mypy/issues/15631 |
|
Narrow TypeVars in the negative case + narrow them through upper bounds
#15711
| https://github.com/python/mypy/pull/15711 |
|
Narrow TypeVar to bounded TypeVar
#15377
| https://github.com/python/mypy/pull/15377 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| JukkaL | https://github.com/JukkaL |
| hauntsaninja | https://github.com/hauntsaninja |
| May 31, 2025 21:25 | https://github.com/python/mypy/pull/19183#event-17905100922 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| May 31, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2925757503 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
|
Jun 1, 2025
| https://github.com/python/mypy/pull/19183#pullrequestreview-2884826003 |
|
View reviewed changes
| https://github.com/python/mypy/pull/19183/files/fcc9af6569c2a4d308d115adccafa1ae31266f22 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| Jun 1, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2926107383 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/sterliakov |
| sterliakov | https://github.com/sterliakov |
|
Jun 1, 2025
| https://github.com/python/mypy/pull/19183#pullrequestreview-2885655402 |
|
View reviewed changes
| https://github.com/python/mypy/pull/19183/files/fcc9af6569c2a4d308d115adccafa1ae31266f22 |
| https://github.com/sterliakov |
| sterliakov | https://github.com/sterliakov |
|
Jun 3, 2025
| https://github.com/python/mypy/pull/19183#ref-issue-3109384527 |
|
Problems with narrowing generic T | Sequence[T]
#19202
| https://github.com/python/mypy/issues/19202 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Jun 3, 2025
| https://github.com/python/mypy/pull/19183#ref-issue-2879563028 |
|
1.16 Release Planning
#18739
| https://github.com/python/mypy/issues/18739 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| June 3, 2025 18:29 | https://github.com/python/mypy/pull/19183#commits-pushed-21a2153 |
|
| https://github.com/ilevkivskyi |
| Merge remote-tracking branch 'upstream/master' into narrow-typevar-bo… | https://github.com/python/mypy/pull/19183/commits/21a21530c06188715120c03eb1f1f188e900322b |
| 21a2153 | https://github.com/python/mypy/pull/19183/commits/21a21530c06188715120c03eb1f1f188e900322b |
|
| https://github.com/ilevkivskyi |
| Address offline feedback | https://github.com/python/mypy/pull/19183/commits/54a80bba41814b11954e60e62d0b7acc505ba188 |
| 54a80bb | https://github.com/python/mypy/pull/19183/commits/54a80bba41814b11954e60e62d0b7acc505ba188 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 3, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2936683148 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| 5a0fa55 | https://github.com/python/mypy/commit/5a0fa556be741270e25c95a923ef8450d28dd448 |
| Jun 3, 2025 | https://github.com/python/mypy/pull/19183#event-17965372914 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| June 3, 2025 18:37 | https://github.com/python/mypy/pull/19183#event-17965375310 |
|
mypy too strict in enforcing generic return types when they are unions
#19239
| https://github.com/python/mypy/issues/19239 |
|
An instance of a final class should be treated as satisfying a TypeVar bound to it, after being narrowed
#19255
| https://github.com/python/mypy/issues/19255 |
| https://github.com/netomi |
| netomi | https://github.com/netomi |
| Jun 11, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2963898631 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jun 11, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2963989131 |
| @netomi | https://github.com/netomi |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/netomi |
| netomi | https://github.com/netomi |
| Jun 11, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2964027157 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/apache/infrastructure-asfyaml | https://github.com/apache/infrastructure-asfyaml |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jun 14, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2972033198 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/netomi |
| netomi | https://github.com/netomi |
| Jun 14, 2025 | https://github.com/python/mypy/pull/19183#issuecomment-2972246803 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
| https://github.com/sterliakov |
| sterliakov | https://github.com/sterliakov |
|
Jul 10, 2025
| https://github.com/python/mypy/pull/19183#ref-issue-3215313122 |
|
RuntimeError: Not implemented mypy.types.TypeGuardedType
#19412
| https://github.com/python/mypy/issues/19412 |
| https://github.com/gopidesupavan |
| gopidesupavan | https://github.com/gopidesupavan |
|
Jul 10, 2025
| https://github.com/python/mypy/pull/19183#ref-pullrequest-3213835853 |
|
Make task-sdk compatible with mypy 1.16.1
apache/airflow#53047
| https://github.com/apache/airflow/pull/53047 |
| https://github.com/sterliakov |
| sterliakov | https://github.com/sterliakov |
|
Jul 16, 2025
| https://github.com/python/mypy/pull/19183#ref-issue-3233600759 |
|
Comparison operators emit "Unsupported operand types" when using isinstance to narrow TypeVar to union of numeric types
#19454
| https://github.com/python/mypy/issues/19454 |
| https://github.com/pkit |
| pkit | https://github.com/pkit |
|
Aug 16, 2025
| https://github.com/python/mypy/pull/19183#ref-issue-1345257714 |
|
Wrong type narrowing when using type without an argument in isinstance call
#13462
| https://github.com/python/mypy/issues/13462 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
|
Feb 10, 2026
| https://github.com/python/mypy/pull/19183#ref-issue-970922495 |
|
issubclass doesn't narrow down types
#10978
| https://github.com/python/mypy/issues/10978 |
| https://github.co/hiddenchars |
| https://github.com/python/mypy/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19183 |
|
| https://github.com/hauntsaninja |
|
hauntsaninja
| https://github.com/hauntsaninja |
|
| https://github.com/python/mypy/pull/19183/files/fcc9af6569c2a4d308d115adccafa1ae31266f22 |
|
| https://github.com/JukkaL |
|
JukkaL
| https://github.com/JukkaL |
|
| https://github.com/sterliakov |
|
sterliakov
| https://github.com/sterliakov |
|
| https://github.com/python/mypy/pull/19183/files/fcc9af6569c2a4d308d115adccafa1ae31266f22 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
|
False-positive on TypeVar bound class return value
| https://github.com/python/mypy/issues/10817 |
|
Incompatible return value type with TypeVar
| https://github.com/python/mypy/issues/10003 |
|
Union is incorrectly constructed when callable() is used, resulting in a false positive
| https://github.com/python/mypy/issues/9778 |
|
Bug: issubclass() doesn't narrow TypeVar type with Protocol
| https://github.com/python/mypy/issues/8556 |
|
Class typevars lose information from isinstance checks
| https://github.com/python/mypy/issues/5720 |
|
issubclass(...) causes a TypeVar to become a Union, leading to false positives
| https://github.com/python/mypy/issues/11163 |
|
TypeVar resolved to a concrete type using isinstance causes mypy to become confused at the equivalence
| https://github.com/python/mypy/issues/11664 |
|
TypeVar error
| https://github.com/python/mypy/issues/12882 |
|
Inconsistent behavior when narrowing bounded generics.
| https://github.com/python/mypy/issues/13426 |
|
Wrong type narrowing when using type without an argument in isinstance call
| https://github.com/python/mypy/issues/13462 |
| Please reload this page | https://github.com/python/mypy/pull/19183 |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/hauntsaninja |
|
| https://github.com/netomi |
|
| https://github.com/sterliakov |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |