René's URL Explorer Experiment


Title: Support ParamSpec variables in type aliases by ilevkivskyi · Pull Request #14159 · python/mypy · GitHub

Open Graph Title: Support ParamSpec variables in type aliases by ilevkivskyi · Pull Request #14159 · python/mypy

X Title: Support ParamSpec variables in type aliases by ilevkivskyi · Pull Request #14159 · python/mypy

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

Open Graph Description: Fixes #11855 Fixes #7084 Fixes #10445 Should fix #4987 After thinking about this for some time, it looks like the best way to implement this is by switching type aliases from unbound to bound type ...

X Description: Fixes #11855 Fixes #7084 Fixes #10445 Should fix #4987 After thinking about this for some time, it looks like the best way to implement this is by switching type aliases from unbound to bound type ...

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

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:4e64d3b3-3628-50ca-f3b6-2b4144517957
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB76C:18FDF5:456435:5D0504:6B002BA9
html-safe-nonceb26a16a86f8acfcb8232f929a3168d9cb898c81f39df05a5cedca5918ac092c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzZDOjE4RkRGNTo0NTY0MzU6NUQwNTA0OjZCMDAyQkE5IiwidmlzaXRvcl9pZCI6IjUxMjc3MjE5MDg0MzA3MTE3MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6518a3c0ce39906fea5dfaefd60524977164fe37cf8b732fb7d0df170127e850
hovercard-subject-tagpull_request:1130167870
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/14159/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/714b315521d51683c51cecc40f80b665002ef3487026a2c7b8d5a7aa5b26e84a/python/mypy/pull/14159
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/714b315521d51683c51cecc40f80b665002ef3487026a2c7b8d5a7aa5b26e84a/python/mypy/pull/14159
og:image:altFixes #11855 Fixes #7084 Fixes #10445 Should fix #4987 After thinking about this for some time, it looks like the best way to implement this is by switching type aliases from unbound to bound type ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
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/14159#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14159
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%2F14159
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/14159
Reloadhttps://github.com/python/mypy/pull/14159
Reloadhttps://github.com/python/mypy/pull/14159
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
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:paramspec-aliashttps://github.com/ilevkivskyi/mypy/tree/paramspec-alias
Conversationhttps://github.com/python/mypy/pull/14159
Commits15 (15)https://github.com/python/mypy/pull/14159/commits
Checkshttps://github.com/python/mypy/pull/14159/checks
Files changedhttps://github.com/python/mypy/pull/14159/files
Support ParamSpec variables in type aliaseshttps://github.com/python/mypy/pull/14159#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:paramspec-aliashttps://github.com/ilevkivskyi/mypy/tree/paramspec-alias
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 21, 2022https://github.com/python/mypy/pull/14159#issue-1458074017
#11855https://github.com/python/mypy/issues/11855
#7084https://github.com/python/mypy/issues/7084
#10445https://github.com/python/mypy/issues/10445
#4987https://github.com/python/mypy/issues/4987
Please reload this pagehttps://github.com/python/mypy/pull/14159
ilevkivskyihttps://github.com/ilevkivskyi
November 20, 2022 23:52https://github.com/python/mypy/pull/14159#commits-pushed-1a673b0
https://github.com/ilevkivskyi
Switch to using bound type variables for type alaiseshttps://github.com/python/mypy/pull/14159/commits/1a673b03208dc895abdf6a168bee8803b40d9a19
1a673b0https://github.com/python/mypy/pull/14159/commits/1a673b03208dc895abdf6a168bee8803b40d9a19
https://github.com/ilevkivskyi
Support paramspec in aliaseshttps://github.com/python/mypy/pull/14159/commits/39e6b86683af09f9cffeeb8b21ea8ee4b99cca58
39e6b86https://github.com/python/mypy/pull/14159/commits/39e6b86683af09f9cffeeb8b21ea8ee4b99cca58
https://github.com/ilevkivskyi
Add a test case for Concatenatehttps://github.com/python/mypy/pull/14159/commits/2e02ca0a8ff6cb0036ef1baa6dd3f5db742d99f9
2e02ca0https://github.com/python/mypy/pull/14159/commits/2e02ca0a8ff6cb0036ef1baa6dd3f5db742d99f9
https://github.com/ilevkivskyi
Tighten unbound type variables even morehttps://github.com/python/mypy/pull/14159/commits/910cb38e6587add76af203508364366df6da54b3
910cb38https://github.com/python/mypy/pull/14159/commits/910cb38e6587add76af203508364366df6da54b3
https://github.com/ilevkivskyi
Update some docs/testshttps://github.com/python/mypy/pull/14159/commits/85ae51901f96fab243b9ac00f8a30a57e13f52c0
85ae519https://github.com/python/mypy/pull/14159/commits/85ae51901f96fab243b9ac00f8a30a57e13f52c0
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
JukkaLhttps://github.com/JukkaL
hauntsaninjahttps://github.com/hauntsaninja
jhancehttps://github.com/jhance
November 21, 2022 14:50https://github.com/python/mypy/pull/14159#event-7858203763
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 21, 2022https://github.com/python/mypy/pull/14159#issuecomment-1322205141
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14159
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 21, 2022https://github.com/python/mypy/pull/14159#issuecomment-1322327182
Please reload this pagehttps://github.com/python/mypy/pull/14159
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/gandhis1
gandhis1https://github.com/gandhis1
Nov 21, 2022 https://github.com/python/mypy/pull/14159#ref-issue-1445805246
MyPy reports false error when using Concatenate with ParamSpec #14069 https://github.com/python/mypy/issues/14069
ilevkivskyihttps://github.com/ilevkivskyi
November 21, 2022 19:32https://github.com/python/mypy/pull/14159#commits-pushed-5fb8862
https://github.com/ilevkivskyi
Merge remote-tracking branch 'upstream/master' into paramspec-aliashttps://github.com/python/mypy/pull/14159/commits/5fb8862caa98d07a305c2e2cc3c18c3a36d67429
5fb8862https://github.com/python/mypy/pull/14159/commits/5fb8862caa98d07a305c2e2cc3c18c3a36d67429
https://github.com/ilevkivskyi
Fix mergehttps://github.com/python/mypy/pull/14159/commits/9435ecd0f6509c4a676d6ec8f7e4e57721cb9024
9435ecdhttps://github.com/python/mypy/pull/14159/commits/9435ecd0f6509c4a676d6ec8f7e4e57721cb9024
https://github.com/ilevkivskyi
Fix nested type applicationhttps://github.com/python/mypy/pull/14159/commits/57fc31118cfd7a839e044b4d2a6a5402343f079d
57fc311https://github.com/python/mypy/pull/14159/commits/57fc31118cfd7a839e044b4d2a6a5402343f079d
https://github.com/ilevkivskyi
Fix some stylehttps://github.com/python/mypy/pull/14159/commits/fdf45338e08da1323ceddeffc383a465b71f0059
fdf4533https://github.com/python/mypy/pull/14159/commits/fdf45338e08da1323ceddeffc383a465b71f0059
https://github.com/ilevkivskyi
Fix Python 3.7https://github.com/python/mypy/pull/14159/commits/cc505118e5e46f1de971c092dafe82bced9371e6
cc50511https://github.com/python/mypy/pull/14159/commits/cc505118e5e46f1de971c092dafe82bced9371e6
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14159
ilevkivskyihttps://github.com/ilevkivskyi
November 22, 2022 00:10https://github.com/python/mypy/pull/14159#commits-pushed-a97ba01
https://github.com/ilevkivskyi
Remove unneeded TODOhttps://github.com/python/mypy/pull/14159/commits/a97ba012d99f4fb086cad19df95c8a455bfb2264
a97ba01https://github.com/python/mypy/pull/14159/commits/a97ba012d99f4fb086cad19df95c8a455bfb2264
https://github.com/ilevkivskyi
Some more testshttps://github.com/python/mypy/pull/14159/commits/ecc700e60ce550da5c14cdfd0fe420665d759ccd
ecc700ehttps://github.com/python/mypy/pull/14159/commits/ecc700e60ce550da5c14cdfd0fe420665d759ccd
https://github.com/ilevkivskyi
Prohibit invalid replacements for ParamSpechttps://github.com/python/mypy/pull/14159/commits/d7357d68eadfeed50485219d22126db75ad31885
d7357d6https://github.com/python/mypy/pull/14159/commits/d7357d68eadfeed50485219d22126db75ad31885
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14159
https://github.com/ilevkivskyi
Fix trivial parametershttps://github.com/python/mypy/pull/14159/commits/c8259c50928818656fe09e06b7cd593696831a90
c8259c5https://github.com/python/mypy/pull/14159/commits/c8259c50928818656fe09e06b7cd593696831a90
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14159
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325091753
@jhancehttps://github.com/jhance
@JukkaLhttps://github.com/JukkaL
@hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325256036
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/gandhis1
gandhis1https://github.com/gandhis1
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325318804
@erictrauthttps://github.com/erictraut
in this commenthttps://github.com/python/mypy/issues/14069#issuecomment-1312188384
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325343855
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325349548
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/ilevkivskyi
Fix checking alias r.h.s. as a runtime expressionhttps://github.com/python/mypy/pull/14159/commits/36eea80b4eb55de2ac9f724937e4b0a2a26475ca
36eea80https://github.com/python/mypy/pull/14159/commits/36eea80b4eb55de2ac9f724937e4b0a2a26475ca
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325382764
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325408826
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325441760
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325519105
@JukkaLhttps://github.com/JukkaL
@jhancehttps://github.com/jhance
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 23, 2022https://github.com/python/mypy/pull/14159#issuecomment-1325539577
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 24, 2022 https://github.com/python/mypy/pull/14159#pullrequestreview-1192991224
View reviewed changes https://github.com/python/mypy/pull/14159/files/36eea80b4eb55de2ac9f724937e4b0a2a26475ca
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/14159#pullrequestreview-1192991224
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
13bd201https://github.com/python/mypy/commit/13bd201586e837962239dbdca8eda1f9966ebfc2
Nov 24, 2022https://github.com/python/mypy/pull/14159#event-7885166473
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
November 24, 2022 11:22https://github.com/python/mypy/pull/14159#event-7885166931
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 20, 2023 https://github.com/python/mypy/pull/14159#ref-issue-1550631316
Unbound type variable false positive with six.with_metaclass #14475 https://github.com/python/mypy/issues/14475
New "Must not defer during final iteration" crash #14565 https://github.com/python/mypy/issues/14565
Remove dead branch when analysing type aliases #14566 https://github.com/python/mypy/pull/14566
hauntsaninjahttps://github.com/hauntsaninja
Jan 31, 2023 https://github.com/python/mypy/pull/14159#ref-commit-1a781e7
https://github.com/hauntsaninja
Remove dead branch when analysing type aliases (https://github.com/python/mypy/commit/1a781e7b46fa362718259187ca1f7cdfd9fad136
#14566https://github.com/python/mypy/pull/14566
)https://github.com/python/mypy/commit/1a781e7b46fa362718259187ca1f7cdfd9fad136
1a781e7https://github.com/python/mypy/commit/1a781e7b46fa362718259187ca1f7cdfd9fad136
#14159https://github.com/python/mypy/pull/14159
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Feb 25, 2023 https://github.com/python/mypy/pull/14159#ref-issue-1579451316
Can't use Callable[..., T] | Callable[..., Awaitable[T]] as a function argument #14669 https://github.com/python/mypy/issues/14669
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Nov 29, 2025 https://github.com/python/mypy/pull/14159#ref-issue-3676570133
mypy INTERNAL ERROR in subtyping #20326 https://github.com/python/mypy/issues/20326
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%2F14159
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/14159/files/36eea80b4eb55de2ac9f724937e4b0a2a26475ca
https://github.com/jhance
jhance https://github.com/jhance
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/14159
Type Aliases that are generic over ParamSpec don't work https://github.com/python/mypy/issues/11855
TypeVar bound is ignored in generic alias https://github.com/python/mypy/issues/10445
Ban bogus "existential types" https://github.com/python/mypy/issues/7084
Do not leak UnboundTypes to type checking https://github.com/python/mypy/issues/4987
Please reload this pagehttps://github.com/python/mypy/pull/14159
https://github.com/ilevkivskyi
https://github.com/JukkaL
https://github.com/gandhis1
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.