| 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:fb2c9f2a-cabf-e85c-010b-0ee82fa1fbbb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3BA:2F2EB9:2F30C94:3E9346F:6B002B60 |
| html-safe-nonce | 7cbbe8d027ff9d2bec00ca5d13ca008a6b9f443f6ed779d4cde9c2547b4b045a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0JBOjJGMkVCOToyRjMwQzk0OjNFOTM0NkY6NkIwMDJCNjAiLCJ2aXNpdG9yX2lkIjoiMTc1MTEzMTIwODU4ODIwODk5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 679a317378754a8f3c663b3dc22fbd7b93ff07672e6f3e7fbb295e7966258166 |
| hovercard-subject-tag | pull_request:759600405 |
| 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/11345/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4f9a09bbab6c83c911cba687433bbbf1589e06a66ca6584e542f137ad4378a1b/python/mypy/pull/11345 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f9a09bbab6c83c911cba687433bbbf1589e06a66ca6584e542f137ad4378a1b/python/mypy/pull/11345 |
| og:image:alt | Consider the following trivial Python file, using the torchtyping library - if only this typechecked, we could write some fancy ML code!
from typing import Annotated, Dict
from torchtyping import T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Zac-HD |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/mypy/pull/11345#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345 |
| 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%2F11345 |
| 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/11345 |
| Reload | https://github.com/python/mypy/pull/11345 |
| Reload | https://github.com/python/mypy/pull/11345 |
| 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 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:master | https://github.com/python/mypy/tree/master |
| Zac-HD:allow-slice-syntax | https://github.com/Zac-HD/mypy/tree/allow-slice-syntax |
| Conversation | https://github.com/python/mypy/pull/11345 |
| Commits2 (2) | https://github.com/python/mypy/pull/11345/commits |
| Checks | https://github.com/python/mypy/pull/11345/checks |
| Files changed | https://github.com/python/mypy/pull/11345/files |
| Allow slice syntax in e.g. Annotated[int, 1:3] and TensorType["batch":..., float] | https://github.com/python/mypy/pull/11345#top |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:master | https://github.com/python/mypy/tree/master |
| Zac-HD:allow-slice-syntax | https://github.com/Zac-HD/mypy/tree/allow-slice-syntax |
|
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| Oct 16, 2021 | https://github.com/python/mypy/pull/11345#issue-1027962145 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| #10266 | https://github.com/python/mypy/issues/10266 |
| #11279 | https://github.com/python/mypy/pull/11279 |
| @sobolevn | https://github.com/sobolevn |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
|
Oct 16, 2021
| https://github.com/python/mypy/pull/11345#pullrequestreview-781339347 |
|
View reviewed changes
| https://github.com/python/mypy/pull/11345/files |
| sobolevn | https://github.com/sobolevn |
| https://github.com/python/mypy/pull/11345#pullrequestreview-781339347 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/compat/functions.py#L32-L45 | https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/compat/functions.py#L32-L45 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| force-pushed | https://github.com/python/mypy/compare/020223b07861ff135c90a75326371b7020ef0ae2..af0e198a21b1018fd1123b116141934e4a7d605f |
| 020223b | https://github.com/python/mypy/commit/020223b07861ff135c90a75326371b7020ef0ae2 |
| af0e198 | https://github.com/python/mypy/commit/af0e198a21b1018fd1123b116141934e4a7d605f |
|
Compare
| https://github.com/python/mypy/compare/020223b07861ff135c90a75326371b7020ef0ae2..af0e198a21b1018fd1123b116141934e4a7d605f |
| October 16, 2021 09:57 | https://github.com/python/mypy/pull/11345#event-5472893630 |
| https://github.com/Zac-HD |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
| Oct 16, 2021 | https://github.com/python/mypy/pull/11345#issuecomment-944898500 |
| https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5R1565-R1572 | https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5R1565-R1572 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| force-pushed | https://github.com/python/mypy/compare/1cd724dd8bca10a1584ebf706a631445fac58aa7..e095098b3a637648dcfd3ccf1d0e1322d181cbe0 |
| 1cd724d | https://github.com/python/mypy/commit/1cd724dd8bca10a1584ebf706a631445fac58aa7 |
| e095098 | https://github.com/python/mypy/commit/e095098b3a637648dcfd3ccf1d0e1322d181cbe0 |
|
Compare
| https://github.com/python/mypy/compare/1cd724dd8bca10a1584ebf706a631445fac58aa7..e095098b3a637648dcfd3ccf1d0e1322d181cbe0 |
| October 17, 2021 11:51 | https://github.com/python/mypy/pull/11345#event-5474137285 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| Oct 17, 2021 | https://github.com/python/mypy/pull/11345#issuecomment-945111667 |
| @sobolevn | https://github.com/sobolevn |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
| Oct 17, 2021 | https://github.com/python/mypy/pull/11345#issuecomment-945131754 |
| @Zac-HD | https://github.com/Zac-HD |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| Oct 18, 2021 | https://github.com/python/mypy/pull/11345#issuecomment-945226789 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| force-pushed | https://github.com/python/mypy/compare/e095098b3a637648dcfd3ccf1d0e1322d181cbe0..efcd2a924348048fab12ce846fb979636bab7adf |
| e095098 | https://github.com/python/mypy/commit/e095098b3a637648dcfd3ccf1d0e1322d181cbe0 |
| efcd2a9 | https://github.com/python/mypy/commit/efcd2a924348048fab12ce846fb979636bab7adf |
|
Compare
| https://github.com/python/mypy/compare/e095098b3a637648dcfd3ccf1d0e1322d181cbe0..efcd2a924348048fab12ce846fb979636bab7adf |
| October 18, 2021 00:20 | https://github.com/python/mypy/pull/11345#event-5474933714 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| Oct 18, 2021 | https://github.com/python/mypy/pull/11345#issuecomment-945237490 |
| @sobolevn | https://github.com/sobolevn |
| @JelleZijlstra | https://github.com/JelleZijlstra |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Oct 18, 2021
| https://github.com/python/mypy/pull/11345#pullrequestreview-781517616 |
|
View reviewed changes
| https://github.com/python/mypy/pull/11345/files |
| mypy/fastparse.py | https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Oct 18, 2021
| https://github.com/python/mypy/pull/11345#pullrequestreview-781517680 |
|
View reviewed changes
| https://github.com/python/mypy/pull/11345/files |
| mypy/fastparse.py | https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
|
| https://github.com/Zac-HD |
| Allow slice syntax | https://github.com/python/mypy/pull/11345/commits/22e8e3a3ebee26f2464ed1087c41052be978ee29 |
| 22e8e3a | https://github.com/python/mypy/pull/11345/commits/22e8e3a3ebee26f2464ed1087c41052be978ee29 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| force-pushed | https://github.com/python/mypy/compare/efcd2a924348048fab12ce846fb979636bab7adf..22e8e3a3ebee26f2464ed1087c41052be978ee29 |
| efcd2a9 | https://github.com/python/mypy/commit/efcd2a924348048fab12ce846fb979636bab7adf |
| 22e8e3a | https://github.com/python/mypy/commit/22e8e3a3ebee26f2464ed1087c41052be978ee29 |
|
Compare
| https://github.com/python/mypy/compare/efcd2a924348048fab12ce846fb979636bab7adf..22e8e3a3ebee26f2464ed1087c41052be978ee29 |
| October 18, 2021 05:15 | https://github.com/python/mypy/pull/11345#event-5475663264 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| JelleZijlstra | https://github.com/JelleZijlstra |
| October 18, 2021 06:36 | https://github.com/python/mypy/pull/11345#event-5475939468 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| force-pushed | https://github.com/python/mypy/compare/619cf286533bb2b1f8311b1a6e0465b097dd05cf..83ee2976a015acdfa608ba55da9daf5c1437b046 |
| 619cf28 | https://github.com/python/mypy/commit/619cf286533bb2b1f8311b1a6e0465b097dd05cf |
| 83ee297 | https://github.com/python/mypy/commit/83ee2976a015acdfa608ba55da9daf5c1437b046 |
|
Compare
| https://github.com/python/mypy/compare/619cf286533bb2b1f8311b1a6e0465b097dd05cf..83ee2976a015acdfa608ba55da9daf5c1437b046 |
| October 18, 2021 20:48 | https://github.com/python/mypy/pull/11345#event-5481147840 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Oct 18, 2021
| https://github.com/python/mypy/pull/11345#pullrequestreview-782605872 |
|
View reviewed changes
| https://github.com/python/mypy/pull/11345/files |
| mypy/fastparse.py | https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
|
| https://github.com/Zac-HD |
| Avoid inplace mutation | https://github.com/python/mypy/pull/11345/commits/a9f151c34f62aba91bf13175cca366ebdcca7176 |
| a9f151c | https://github.com/python/mypy/pull/11345/commits/a9f151c34f62aba91bf13175cca366ebdcca7176 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| force-pushed | https://github.com/python/mypy/compare/83ee2976a015acdfa608ba55da9daf5c1437b046..a9f151c34f62aba91bf13175cca366ebdcca7176 |
| 83ee297 | https://github.com/python/mypy/commit/83ee2976a015acdfa608ba55da9daf5c1437b046 |
| a9f151c | https://github.com/python/mypy/commit/a9f151c34f62aba91bf13175cca366ebdcca7176 |
|
Compare
| https://github.com/python/mypy/compare/83ee2976a015acdfa608ba55da9daf5c1437b046..a9f151c34f62aba91bf13175cca366ebdcca7176 |
| October 18, 2021 21:52 | https://github.com/python/mypy/pull/11345#event-5481432019 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| 9aaeef5 | https://github.com/python/mypy/commit/9aaeef5f355509ef789dbcdca1f15793698a5960 |
| Oct 18, 2021 | https://github.com/python/mypy/pull/11345#event-5481734022 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
| October 18, 2021 23:18 | https://github.com/python/mypy/pull/11345#event-5481735986 |
| https://github.com/Zac-HD |
| Zac-HD | https://github.com/Zac-HD |
|
Oct 29, 2021
| https://github.com/python/mypy/pull/11345#ref-pullrequest-1039395700 |
|
[backport] cherry-pick slice-syntax fix for 0.920
#11406
| https://github.com/python/mypy/pull/11406 |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Oct 29, 2021
| https://github.com/python/mypy/pull/11345#ref-commit-e4c52ee |
|
| https://github.com/Zac-HD |
| Allow slice syntax ( | https://github.com/python/mypy/commit/e4c52eee2db00190fcbb9771f0f184a62b978904 |
| #11406 | https://github.com/python/mypy/pull/11406 |
| ) | https://github.com/python/mypy/commit/e4c52eee2db00190fcbb9771f0f184a62b978904 |
| e4c52ee | https://github.com/python/mypy/commit/e4c52eee2db00190fcbb9771f0f184a62b978904 |
| #11345 | https://github.com/python/mypy/pull/11345 |
| tushar-deepsource | https://github.com/tushar-deepsource |
|
Jan 20, 2022
| https://github.com/python/mypy/pull/11345#ref-commit-ebd6586 |
|
| https://github.com/Zac-HD |
|
| https://github.com/tushar-deepsource |
| Allow slice syntax in e.g. Annotated[int, 1:3] and `TensorType["bat… | https://github.com/DeepSourceCorp/mypy/commit/ebd6586d10ceed39096edcc273c3af1a9312dc71 |
| ebd6586 | https://github.com/DeepSourceCorp/mypy/commit/ebd6586d10ceed39096edcc273c3af1a9312dc71 |
| python#11345 | https://github.com/python/mypy/pull/11345 |
| 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%2F11345 |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/python/mypy/pull/11345/files/83ee2976a015acdfa608ba55da9daf5c1437b046 |
|
| https://github.com/sobolevn |
|
sobolevn
| https://github.com/sobolevn |
|
| https://github.com/python/mypy/pull/11345/files/020223b07861ff135c90a75326371b7020ef0ae2 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
|
Crash with slices e.g. Annotated[int, 3:4]
| https://github.com/python/mypy/issues/10266 |
| Please reload this page | https://github.com/python/mypy/pull/11345 |
|
| https://github.com/Zac-HD |
|
| https://github.com/sobolevn |
|
| https://github.com/JelleZijlstra |
|
| 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 |