René's URL Explorer Experiment


Title: Allow slice syntax in e.g. `Annotated[int, 1:3]` and `TensorType["batch":..., float]` by Zac-HD · Pull Request #11345 · python/mypy · GitHub

Open Graph Title: Allow slice syntax in e.g. `Annotated[int, 1:3]` and `TensorType["batch":..., float]` by Zac-HD · Pull Request #11345 · python/mypy

X Title: Allow slice syntax in e.g. `Annotated[int, 1:3]` and `TensorType["batch":..., float]` by Zac-HD · Pull Request #11345 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/python/mypy/pull/11345

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fb2c9f2a-cabf-e85c-010b-0ee82fa1fbbb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3BA:2F2EB9:2F30C94:3E9346F:6B002B60
html-safe-nonce7cbbe8d027ff9d2bec00ca5d13ca008a6b9f443f6ed779d4cde9c2547b4b045a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0JBOjJGMkVCOToyRjMwQzk0OjNFOTM0NkY6NkIwMDJCNjAiLCJ2aXNpdG9yX2lkIjoiMTc1MTEzMTIwODU4ODIwODk5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac679a317378754a8f3c663b3dc22fbd7b93ff07672e6f3e7fbb295e7966258166
hovercard-subject-tagpull_request:759600405
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/11345/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4f9a09bbab6c83c911cba687433bbbf1589e06a66ca6584e542f137ad4378a1b/python/mypy/pull/11345
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4f9a09bbab6c83c911cba687433bbbf1589e06a66ca6584e542f137ad4378a1b/python/mypy/pull/11345
og:image:altConsider 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZac-HD
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/11345#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345
Sign uphttps://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
Reloadhttps://github.com/python/mypy/pull/11345
Reloadhttps://github.com/python/mypy/pull/11345
Reloadhttps://github.com/python/mypy/pull/11345
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/mypy/tree/master
Zac-HD:allow-slice-syntaxhttps://github.com/Zac-HD/mypy/tree/allow-slice-syntax
Conversationhttps://github.com/python/mypy/pull/11345
Commits2 (2)https://github.com/python/mypy/pull/11345/commits
Checkshttps://github.com/python/mypy/pull/11345/checks
Files changedhttps://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
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/mypy/tree/master
Zac-HD:allow-slice-syntaxhttps://github.com/Zac-HD/mypy/tree/allow-slice-syntax
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Oct 16, 2021https://github.com/python/mypy/pull/11345#issue-1027962145
Please reload this pagehttps://github.com/python/mypy/pull/11345
#10266https://github.com/python/mypy/issues/10266
#11279https://github.com/python/mypy/pull/11279
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345
https://github.com/sobolevn
sobolevnhttps://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
sobolevnhttps://github.com/sobolevn
https://github.com/python/mypy/pull/11345#pullrequestreview-781339347
Learn morehttps://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-L45https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/compat/functions.py#L32-L45
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
force-pushedhttps://github.com/python/mypy/compare/020223b07861ff135c90a75326371b7020ef0ae2..af0e198a21b1018fd1123b116141934e4a7d605f
020223bhttps://github.com/python/mypy/commit/020223b07861ff135c90a75326371b7020ef0ae2
af0e198https://github.com/python/mypy/commit/af0e198a21b1018fd1123b116141934e4a7d605f
Compare https://github.com/python/mypy/compare/020223b07861ff135c90a75326371b7020ef0ae2..af0e198a21b1018fd1123b116141934e4a7d605f
October 16, 2021 09:57https://github.com/python/mypy/pull/11345#event-5472893630
https://github.com/Zac-HD
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F11345
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 16, 2021https://github.com/python/mypy/pull/11345#issuecomment-944898500
https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5R1565-R1572https://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5R1565-R1572
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
force-pushedhttps://github.com/python/mypy/compare/1cd724dd8bca10a1584ebf706a631445fac58aa7..e095098b3a637648dcfd3ccf1d0e1322d181cbe0
1cd724dhttps://github.com/python/mypy/commit/1cd724dd8bca10a1584ebf706a631445fac58aa7
e095098https://github.com/python/mypy/commit/e095098b3a637648dcfd3ccf1d0e1322d181cbe0
Compare https://github.com/python/mypy/compare/1cd724dd8bca10a1584ebf706a631445fac58aa7..e095098b3a637648dcfd3ccf1d0e1322d181cbe0
October 17, 2021 11:51https://github.com/python/mypy/pull/11345#event-5474137285
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Oct 17, 2021https://github.com/python/mypy/pull/11345#issuecomment-945111667
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 17, 2021https://github.com/python/mypy/pull/11345#issuecomment-945131754
@Zac-HDhttps://github.com/Zac-HD
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Oct 18, 2021https://github.com/python/mypy/pull/11345#issuecomment-945226789
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
force-pushedhttps://github.com/python/mypy/compare/e095098b3a637648dcfd3ccf1d0e1322d181cbe0..efcd2a924348048fab12ce846fb979636bab7adf
e095098https://github.com/python/mypy/commit/e095098b3a637648dcfd3ccf1d0e1322d181cbe0
efcd2a9https://github.com/python/mypy/commit/efcd2a924348048fab12ce846fb979636bab7adf
Compare https://github.com/python/mypy/compare/e095098b3a637648dcfd3ccf1d0e1322d181cbe0..efcd2a924348048fab12ce846fb979636bab7adf
October 18, 2021 00:20https://github.com/python/mypy/pull/11345#event-5474933714
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
Oct 18, 2021https://github.com/python/mypy/pull/11345#issuecomment-945237490
@sobolevnhttps://github.com/sobolevn
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/JelleZijlstra
JelleZijlstrahttps://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.pyhttps://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/JelleZijlstra
JelleZijlstrahttps://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.pyhttps://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
Allow slice syntaxhttps://github.com/python/mypy/pull/11345/commits/22e8e3a3ebee26f2464ed1087c41052be978ee29
22e8e3ahttps://github.com/python/mypy/pull/11345/commits/22e8e3a3ebee26f2464ed1087c41052be978ee29
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
force-pushedhttps://github.com/python/mypy/compare/efcd2a924348048fab12ce846fb979636bab7adf..22e8e3a3ebee26f2464ed1087c41052be978ee29
efcd2a9https://github.com/python/mypy/commit/efcd2a924348048fab12ce846fb979636bab7adf
22e8e3ahttps://github.com/python/mypy/commit/22e8e3a3ebee26f2464ed1087c41052be978ee29
Compare https://github.com/python/mypy/compare/efcd2a924348048fab12ce846fb979636bab7adf..22e8e3a3ebee26f2464ed1087c41052be978ee29
October 18, 2021 05:15https://github.com/python/mypy/pull/11345#event-5475663264
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
JelleZijlstrahttps://github.com/JelleZijlstra
October 18, 2021 06:36https://github.com/python/mypy/pull/11345#event-5475939468
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
force-pushedhttps://github.com/python/mypy/compare/619cf286533bb2b1f8311b1a6e0465b097dd05cf..83ee2976a015acdfa608ba55da9daf5c1437b046
619cf28https://github.com/python/mypy/commit/619cf286533bb2b1f8311b1a6e0465b097dd05cf
83ee297https://github.com/python/mypy/commit/83ee2976a015acdfa608ba55da9daf5c1437b046
Compare https://github.com/python/mypy/compare/619cf286533bb2b1f8311b1a6e0465b097dd05cf..83ee2976a015acdfa608ba55da9daf5c1437b046
October 18, 2021 20:48https://github.com/python/mypy/pull/11345#event-5481147840
https://github.com/JelleZijlstra
JelleZijlstrahttps://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.pyhttps://github.com/python/mypy/pull/11345/files#diff-a7d2c40f4be6322cee498432ca9dbbc3a356c3cbcb61029231452f6638bb11b5
Please reload this pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
Avoid inplace mutationhttps://github.com/python/mypy/pull/11345/commits/a9f151c34f62aba91bf13175cca366ebdcca7176
a9f151chttps://github.com/python/mypy/pull/11345/commits/a9f151c34f62aba91bf13175cca366ebdcca7176
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
force-pushedhttps://github.com/python/mypy/compare/83ee2976a015acdfa608ba55da9daf5c1437b046..a9f151c34f62aba91bf13175cca366ebdcca7176
83ee297https://github.com/python/mypy/commit/83ee2976a015acdfa608ba55da9daf5c1437b046
a9f151chttps://github.com/python/mypy/commit/a9f151c34f62aba91bf13175cca366ebdcca7176
Compare https://github.com/python/mypy/compare/83ee2976a015acdfa608ba55da9daf5c1437b046..a9f151c34f62aba91bf13175cca366ebdcca7176
October 18, 2021 21:52https://github.com/python/mypy/pull/11345#event-5481432019
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
9aaeef5https://github.com/python/mypy/commit/9aaeef5f355509ef789dbcdca1f15793698a5960
Oct 18, 2021https://github.com/python/mypy/pull/11345#event-5481734022
https://github.com/Zac-HD
Zac-HDhttps://github.com/Zac-HD
October 18, 2021 23:18https://github.com/python/mypy/pull/11345#event-5481735986
https://github.com/Zac-HD
Zac-HDhttps://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
ilevkivskyihttps://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
#11406https://github.com/python/mypy/pull/11406
)https://github.com/python/mypy/commit/e4c52eee2db00190fcbb9771f0f184a62b978904
e4c52eehttps://github.com/python/mypy/commit/e4c52eee2db00190fcbb9771f0f184a62b978904
#11345https://github.com/python/mypy/pull/11345
tushar-deepsourcehttps://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
ebd6586https://github.com/DeepSourceCorp/mypy/commit/ebd6586d10ceed39096edcc273c3af1a9312dc71
python#11345https://github.com/python/mypy/pull/11345
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://github.com/python/mypy/pull/11345
https://github.com/Zac-HD
https://github.com/sobolevn
https://github.com/JelleZijlstra
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.