René's URL Explorer Experiment


Title: Allow better `tuple` type aliases, fix "Type application" error by sobolevn · Pull Request #12134 · python/mypy · GitHub

Open Graph Title: Allow better `tuple` type aliases, fix "Type application" error by sobolevn · Pull Request #12134 · python/mypy

X Title: Allow better `tuple` type aliases, fix "Type application" error by sobolevn · Pull Request #12134 · python/mypy

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

Open Graph Description: I am also testing how new mypy_primer and mypy_comment actions work: #12125 I expect "No change" comment to appear. Closes #11098

X Description: I am also testing how new mypy_primer and mypy_comment actions work: #12125 I expect "No change" comment to appear. Closes #11098

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

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:e7e4948a-41db-7500-5eec-eb19b3858c44
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3A6:3CBF1A:1F75692:2B0CBE4:6B002381
html-safe-noncee499537442f170062a8292321adfd9c0fca31f1c6ae690ec598c2ca64349bcff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0E2OjNDQkYxQToxRjc1NjkyOjJCMENCRTQ6NkIwMDIzODEiLCJ2aXNpdG9yX2lkIjoiODE1Njk3MDE3MjAyNDg5MDI0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ee486c6f3958805224e760368a7f0ee43145213519c83fa3664c835b02f2b77
hovercard-subject-tagpull_request:841015863
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/12134/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/78b9ca30fc89a44f6034e3590c8c5c293863f11a664d7684c76222a97ba1bce4/python/mypy/pull/12134
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78b9ca30fc89a44f6034e3590c8c5c293863f11a664d7684c76222a97ba1bce4/python/mypy/pull/12134
og:image:altI am also testing how new mypy_primer and mypy_comment actions work: #12125 I expect "No change" comment to appear. Closes #11098
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/12134#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12134
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%2F12134
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/12134
Reloadhttps://github.com/python/mypy/pull/12134
Reloadhttps://github.com/python/mypy/pull/12134
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 requests546 (546)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
sobolevnhttps://github.com/sobolevn
python:masterhttps://github.com/python/mypy/tree/master
Conversationhttps://github.com/python/mypy/pull/12134
Commits3 (3)https://github.com/python/mypy/pull/12134/commits
Checkshttps://github.com/python/mypy/pull/12134/checks
Files changedhttps://github.com/python/mypy/pull/12134/files
Allow better tuple type aliases, fix "Type application" errorhttps://github.com/python/mypy/pull/12134#top
sobolevnhttps://github.com/sobolevn
python:masterhttps://github.com/python/mypy/tree/master
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issue-1125131804
Please reload this pagehttps://github.com/python/mypy/pull/12134
#12125https://github.com/python/mypy/pull/12125
#11098https://github.com/python/mypy/issues/11098
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
Allow better tuple type aliases, fix "Type application" errorhttps://github.com/python/mypy/pull/12134/commits/7311b74bb13d6f4649e6a8f76e4abad4f5d555aa
7311b74https://github.com/python/mypy/pull/12134/commits/7311b74bb13d6f4649e6a8f76e4abad4f5d555aa
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
hauntsaninjahttps://github.com/hauntsaninja
February 6, 2022 07:45https://github.com/python/mypy/pull/12134#event-6014711742
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022 https://github.com/python/mypy/pull/12134#ref-issue-994504195
(🐞) False positive "error: Type application has too many types (1 expected)" on tuple when annotated as a type or in a TypeAlias with new union syntax (PEP 604) #11098 https://github.com/python/mypy/issues/11098
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 6, 2022 https://github.com/python/mypy/pull/12134#pullrequestreview-874006100
View reviewed changes https://github.com/python/mypy/pull/12134/files/7311b74bb13d6f4649e6a8f76e4abad4f5d555aa
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/12134#pullrequestreview-874006100
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030778935
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022 https://github.com/python/mypy/pull/12134#ref-pullrequest-1125000949
Improve readline typings python/typeshed#7141 https://github.com/python/typeshed/pull/7141
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030786693
python/typeshed#7019https://github.com/python/typeshed/issues/7019
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030792998
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030850092
mypy/mypy/checkexpr.pyhttps://github.com/python/mypy/blob/48dc990427d3619c107f193757a3ce735e9ca409/mypy/checkexpr.py#L274-L275
48dc990https://github.com/python/mypy/commit/48dc990427d3619c107f193757a3ce735e9ca409
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030858468
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
Fix Any problemhttps://github.com/python/mypy/pull/12134/commits/70ecb89d78a1daea54e747f0db89a96d827cb9b9
70ecb89https://github.com/python/mypy/pull/12134/commits/70ecb89d78a1daea54e747f0db89a96d827cb9b9
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030876010
Please reload this pagehttps://github.com/python/mypy/pull/12134
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030876893
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030878222
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022https://github.com/python/mypy/pull/12134#issuecomment-1030882103
https://github.com/aio-libs/aiohttp/blob/f78c128f52f4f7e55ebaa8ed0aa764031e98dfe8/aiohttp/web.py#L283https://github.com/aio-libs/aiohttp/blob/f78c128f52f4f7e55ebaa8ed0aa764031e98dfe8/aiohttp/web.py#L283
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 7, 2022https://github.com/python/mypy/pull/12134#issuecomment-1031158832
Please reload this pagehttps://github.com/python/mypy/pull/12134
@erictrauthttps://github.com/erictraut
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 13, 2022https://github.com/python/mypy/pull/12134#issuecomment-1038074882
@erictrauthttps://github.com/erictraut
@erictrauthttps://github.com/erictraut
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/erictraut
erictrauthttps://github.com/erictraut
Feb 13, 2022https://github.com/python/mypy/pull/12134#issuecomment-1038293323
Please reload this pagehttps://github.com/python/mypy/pull/12134
@AlexWaygoodhttps://github.com/AlexWaygood
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 12, 2022 https://github.com/python/mypy/pull/12134#ref-pullrequest-1167360271
Cherry pick the typeshed fix for 12339 #12340 https://github.com/python/mypy/pull/12340
Add _typeshed.Incomplete python/typeshed#7535 https://github.com/python/typeshed/pull/7535
mypy fails for a simple Any type alias` #12421 https://github.com/python/mypy/issues/12421
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Mar 23, 2022 https://github.com/python/mypy/pull/12134#ref-pullrequest-1177983714
Fix "Cannot determine type of Any" issue in typeshed #12429 https://github.com/python/mypy/pull/12429
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Apr 14, 2022https://github.com/python/mypy/pull/12134#issuecomment-1098895415
@sobolevnhttps://github.com/sobolevn
#12579https://github.com/python/mypy/issues/12579
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Apr 14, 2022https://github.com/python/mypy/pull/12134#issuecomment-1098895416
@sobolevnhttps://github.com/sobolevn
#12579https://github.com/python/mypy/issues/12579
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Apr 14, 2022https://github.com/python/mypy/pull/12134#issuecomment-1099051899
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/97littleleaf11
Merge branch 'master' into issue-11098https://github.com/python/mypy/pull/12134/commits/83155aafbd3ae7aefa37aa6c5e4ad025a935522b
83155aahttps://github.com/python/mypy/pull/12134/commits/83155aafbd3ae7aefa37aa6c5e4ad025a935522b
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 2, 2022https://github.com/python/mypy/pull/12134#issuecomment-1114460196
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 28, 2022https://github.com/python/mypy/pull/12134#event-7078512147
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 4, 2022https://github.com/python/mypy/pull/12134#issuecomment-1303865701
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Nov 4, 2022https://github.com/python/mypy/pull/12134#issuecomment-1304005493
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/12134
JukkaLhttps://github.com/JukkaL
Nov 25, 2022 https://github.com/python/mypy/pull/12134#ref-commit-7bb0cdc
https://github.com/JukkaL
Add test cases fromhttps://github.com/python/mypy/commit/7bb0cdc2510e9b973ff418d84f4dce7f225b8308
#12134https://github.com/python/mypy/pull/12134
byhttps://github.com/python/mypy/commit/7bb0cdc2510e9b973ff418d84f4dce7f225b8308
@sobolevnhttps://github.com/sobolevn
7bb0cdchttps://github.com/python/mypy/commit/7bb0cdc2510e9b973ff418d84f4dce7f225b8308
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 25, 2022 https://github.com/python/mypy/pull/12134#ref-pullrequest-1464326313
Fix type aliases with fixed-length tuples #14184 https://github.com/python/mypy/pull/14184
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 25, 2022https://github.com/python/mypy/pull/12134#issuecomment-1327291722
#14184https://github.com/python/mypy/pull/14184
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 25, 2022https://github.com/python/mypy/pull/12134#event-7891751281
JukkaLhttps://github.com/JukkaL
Nov 25, 2022 https://github.com/python/mypy/pull/12134#ref-commit-a9024a8
https://github.com/JukkaL
Fix type aliases with fixed-length tuples (https://github.com/python/mypy/commit/a9024a801b2fe11f1e67ea62d55b22f4dc913076
#14184https://github.com/python/mypy/pull/14184
)https://github.com/python/mypy/commit/a9024a801b2fe11f1e67ea62d55b22f4dc913076
a9024a8https://github.com/python/mypy/commit/a9024a801b2fe11f1e67ea62d55b22f4dc913076
@sobolevnhttps://github.com/sobolevn
#12134https://github.com/python/mypy/pull/12134
#11098https://github.com/python/mypy/issues/11098
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%2F12134
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/12134/files/7311b74bb13d6f4649e6a8f76e4abad4f5d555aa
Please reload this pagehttps://github.com/python/mypy/pull/12134
(🐞) False positive "error: Type application has too many types (1 expected)" on tuple when annotated as a type or in a TypeAlias with new union syntax (PEP 604) https://github.com/python/mypy/issues/11098
Please reload this pagehttps://github.com/python/mypy/pull/12134
https://github.com/sobolevn
https://github.com/AlexWaygood
https://github.com/erictraut
https://github.com/JukkaL
https://github.com/hauntsaninja
https://github.com/97littleleaf11
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.