René's URL Explorer Experiment


Title: SubtypeVisitor: treat ParamSpec as if it was a covariant TypeVar by Akuli · Pull Request #12096 · python/mypy · GitHub

Open Graph Title: SubtypeVisitor: treat ParamSpec as if it was a covariant TypeVar by Akuli · Pull Request #12096 · python/mypy

X Title: SubtypeVisitor: treat ParamSpec as if it was a covariant TypeVar by Akuli · Pull Request #12096 · python/mypy

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

Open Graph Description: Description Fixes #12033. The problem was that Foo[<nothing>] was not a subtype of Foo[_P], where _P is a paramspec. This caused a weird problem where Foo[_P] was not a subtype of itself, bec...

X Description: Description Fixes #12033. The problem was that Foo[&lt;nothing&gt;] was not a subtype of Foo[_P], where _P is a paramspec. This caused a weird problem where Foo[_P] was not a subtype of its...

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

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:24e72a3c-98e4-e388-821c-f1231f4ef34c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id948C:07D0:10150F8:150CAB7:6B0005EA
html-safe-nonce74d842cf3e9d09edd13044b0968028143a02352539c713a6dfea9bf111d64329
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDhDOjA3RDA6MTAxNTBGODoxNTBDQUI3OjZCMDAwNUVBIiwidmlzaXRvcl9pZCI6IjM3MzgwMTg3MjM2NTEzODg5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd03a29b05a8d6b8db0fc6940245954183991acc13cc42c6591e060290edb87bf
hovercard-subject-tagpull_request:835144159
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/12096/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6c90195f781f21d93d9112013d404aa65969e9987857485f9177950df0b06182/python/mypy/pull/12096
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6c90195f781f21d93d9112013d404aa65969e9987857485f9177950df0b06182/python/mypy/pull/12096
og:image:altDescription Fixes #12033. The problem was that Foo[<nothing>] was not a subtype of Foo[_P], where _P is a paramspec. This caused a weird problem where Foo[_P] was not a subtype of itself, bec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAkuli
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
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
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/12096#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12096
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%2F12096
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/12096
Reloadhttps://github.com/python/mypy/pull/12096
Reloadhttps://github.com/python/mypy/pull/12096
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
Akulihttps://github.com/Akuli
python:masterhttps://github.com/python/mypy/tree/master
Akuli:paramspechttps://github.com/Akuli/mypy/tree/paramspec
Conversationhttps://github.com/python/mypy/pull/12096
Commits5 (5)https://github.com/python/mypy/pull/12096/commits
Checkshttps://github.com/python/mypy/pull/12096/checks
Files changedhttps://github.com/python/mypy/pull/12096/files
SubtypeVisitor: treat ParamSpec as if it was a covariant TypeVarhttps://github.com/python/mypy/pull/12096#top
Akulihttps://github.com/Akuli
python:masterhttps://github.com/python/mypy/tree/master
Akuli:paramspechttps://github.com/Akuli/mypy/tree/paramspec
https://github.com/Akuli
Akulihttps://github.com/Akuli
Jan 29, 2022https://github.com/python/mypy/pull/12096#issue-1118239180
#12033https://github.com/python/mypy/issues/12033
#12034https://github.com/python/mypy/pull/12034
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/Akuli
SubtypeVisitor: treat ParamSpec as if it was a covariant TypeVarhttps://github.com/python/mypy/pull/12096/commits/442eccacf030f6463f85b045e18c956c9d16b671
442eccahttps://github.com/python/mypy/pull/12096/commits/442eccacf030f6463f85b045e18c956c9d16b671
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12096
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 2, 2022 https://github.com/python/mypy/pull/12096#pullrequestreview-870134937
View reviewed changes https://github.com/python/mypy/pull/12096/files/442eccacf030f6463f85b045e18c956c9d16b671
sobolevnhttps://github.com/sobolevn
https://github.com/python/mypy/pull/12096#pullrequestreview-870134937
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Feb 6, 2022 https://github.com/python/mypy/pull/12096#ref-pullrequest-1110344489
Fixes @final and ParamSpec integration #12034 https://github.com/python/mypy/pull/12034
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Mar 10, 2022 https://github.com/python/mypy/pull/12096#ref-pullrequest-1088705339
Basic ParamSpec Concatenate and literal support #11847 https://github.com/python/mypy/pull/11847
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Mar 25, 2022 https://github.com/python/mypy/pull/12096#pullrequestreview-922217691
View reviewed changes https://github.com/python/mypy/pull/12096/files/442eccacf030f6463f85b045e18c956c9d16b671
A5rockshttps://github.com/A5rocks
https://github.com/python/mypy/pull/12096#pullrequestreview-922217691
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#11847https://github.com/python/mypy/pull/11847
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/jhance
jhancehttps://github.com/jhance
Mar 29, 2022https://github.com/python/mypy/pull/12096#issuecomment-1082451680
Please reload this pagehttps://github.com/python/mypy/pull/12096
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Mar 30, 2022https://github.com/python/mypy/pull/12096#issuecomment-1082572546
Please reload this pagehttps://github.com/python/mypy/pull/12096
mypy/test-data/unit/check-parameter-specification.testhttps://github.com/python/mypy/blob/81994f13510f78c8fad61a8d35658a99727e976b/test-data/unit/check-parameter-specification.test#L942-L998
81994f1https://github.com/python/mypy/commit/81994f13510f78c8fad61a8d35658a99727e976b
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/Akuli
Akulihttps://github.com/Akuli
Mar 30, 2022https://github.com/python/mypy/pull/12096#issuecomment-1082756002
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Apr 7, 2022 https://github.com/python/mypy/pull/12096#ref-issue-1110329938
@final and ParamSpec #12033 https://github.com/python/mypy/issues/12033
https://github.com/Akuli
Merge remote-tracking branch 'origin/master' into paramspechttps://github.com/python/mypy/pull/12096/commits/da5adc93cf4e6e5f58b6a5760489371abc3f7ab8
da5adc9https://github.com/python/mypy/pull/12096/commits/da5adc93cf4e6e5f58b6a5760489371abc3f7ab8
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12096
https://github.com/Akuli
Akulihttps://github.com/Akuli
April 9, 2022 15:55https://github.com/python/mypy/pull/12096#event-6401873115
https://github.com/Akuli
use is_equivalent for everything except TypeVar and ParamSpechttps://github.com/python/mypy/pull/12096/commits/272de9ad4ba2ef9a4215b6196e371777f680add1
272de9ahttps://github.com/python/mypy/pull/12096/commits/272de9ad4ba2ef9a4215b6196e371777f680add1
https://github.com/Akuli
Akulihttps://github.com/Akuli
Apr 9, 2022 https://github.com/python/mypy/pull/12096#ref-pullrequest-1198696026
Add tests for decorating ParamSpec #12555 https://github.com/python/mypy/pull/12555
https://github.com/Akuli
Akulihttps://github.com/Akuli
Apr 9, 2022https://github.com/python/mypy/pull/12096#issuecomment-1094074853
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F12096
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Apr 10, 2022https://github.com/python/mypy/pull/12096#issuecomment-1094175357
272de9ahttps://github.com/python/mypy/commit/272de9ad4ba2ef9a4215b6196e371777f680add1
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/Akuli
Akulihttps://github.com/Akuli
Apr 10, 2022https://github.com/python/mypy/pull/12096#issuecomment-1094216763
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Apr 10, 2022https://github.com/python/mypy/pull/12096#issuecomment-1094304372
Please reload this pagehttps://github.com/python/mypy/pull/12096
Akulihttps://github.com/Akuli
April 10, 2022 19:47https://github.com/python/mypy/pull/12096#commits-pushed-2eb0fcc
https://github.com/Akuli
delete test added in separate prhttps://github.com/python/mypy/pull/12096/commits/2eb0fcc317b1b624154d4326e65a0c697b2ad7a9
2eb0fcchttps://github.com/python/mypy/pull/12096/commits/2eb0fcc317b1b624154d4326e65a0c697b2ad7a9
https://github.com/Akuli
Merge remote-tracking branch 'origin/master' into paramspechttps://github.com/python/mypy/pull/12096/commits/2f7e0eebd490d640034c5b75d04840571f335f25
2f7e0eehttps://github.com/python/mypy/pull/12096/commits/2f7e0eebd490d640034c5b75d04840571f335f25
https://github.com/Akuli
Akulihttps://github.com/Akuli
April 10, 2022 17:01https://github.com/python/mypy/pull/12096#event-6404420519
https://github.com/Akuli
Akulihttps://github.com/Akuli
Apr 10, 2022https://github.com/python/mypy/pull/12096#issuecomment-1094328092
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 10, 2022https://github.com/python/mypy/pull/12096#issuecomment-1094331950
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Apr 13, 2022 https://github.com/python/mypy/pull/12096#ref-issue-1203424558
Release 0.950 planning #12579 https://github.com/python/mypy/issues/12579
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Sep 16, 2023https://github.com/python/mypy/pull/12096#issuecomment-1722183297
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Sep 16, 2023https://github.com/python/mypy/pull/12096#event-10389341016
https://github.com/Akuli
Akulihttps://github.com/Akuli
September 16, 2023 19:10https://github.com/python/mypy/pull/12096#event-10390195483
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%2F12096
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
https://github.com/python/mypy/pull/12096/files/442eccacf030f6463f85b045e18c956c9d16b671
https://github.com/A5rocks
A5rocks https://github.com/A5rocks
https://github.com/python/mypy/pull/12096/files/442eccacf030f6463f85b045e18c956c9d16b671
Please reload this pagehttps://github.com/python/mypy/pull/12096
@final and ParamSpec https://github.com/python/mypy/issues/12033
Please reload this pagehttps://github.com/python/mypy/pull/12096
https://github.com/Akuli
https://github.com/jhance
https://github.com/A5rocks
https://github.com/hauntsaninja
https://github.com/sobolevn
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.