René's URL Explorer Experiment


Title: Disallow no-args generic aliases when using PEP 613 explicit aliases by brianschubert · Pull Request #18173 · python/mypy · GitHub

Open Graph Title: Disallow no-args generic aliases when using PEP 613 explicit aliases by brianschubert · Pull Request #18173 · python/mypy

X Title: Disallow no-args generic aliases when using PEP 613 explicit aliases by brianschubert · Pull Request #18173 · python/mypy

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

Open Graph Description: Per the type system conformance tests, this is ok: ListAlias = list x = ListAlias[int]() # OK While this is not: ListAlias: TypeAlias = list x: ListAlias[int] # E: already specialized Mypy curren...

X Description: Per the type system conformance tests, this is ok: ListAlias = list x = ListAlias[int]() # OK While this is not: ListAlias: TypeAlias = list x: ListAlias[int] # E: already specialized Mypy curren...

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

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:5cdc3223-6d37-7b32-0443-881792662107
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBEE8:3204C8:1D6B572:25DCE96:6AFFCCEE
html-safe-noncee243f4bb1c58e220ac23f707dd8063f8b609bf4bf186699f9f8ce0e97bf4559e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUU4OjMyMDRDODoxRDZCNTcyOjI1RENFOTY6NkFGRkNDRUUiLCJ2aXNpdG9yX2lkIjoiNTU5MTU3NjYwNjg3MjE2MTUxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb51e3854d6a6e45e6e2656e98cd7d562dfb36eb91b2f782ebf3c313c1ecc56b2
hovercard-subject-tagpull_request:2188573324
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/18173/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/770d3a6bc8a3855f146707e51c7c01e73e5e35d1b416578a96c4cac8411a92d3/python/mypy/pull/18173
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/770d3a6bc8a3855f146707e51c7c01e73e5e35d1b416578a96c4cac8411a92d3/python/mypy/pull/18173
og:image:altPer the type system conformance tests, this is ok: ListAlias = list x = ListAlias[int]() # OK While this is not: ListAlias: TypeAlias = list x: ListAlias[int] # E: already specialized Mypy curren...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrianschubert
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/18173#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18173
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%2F18173
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/18173
Reloadhttps://github.com/python/mypy/pull/18173
Reloadhttps://github.com/python/mypy/pull/18173
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
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
brianschubert:conformance-pep613-noargs-aliashttps://github.com/brianschubert/mypy/tree/conformance-pep613-noargs-alias
Conversationhttps://github.com/python/mypy/pull/18173
Commits4 (4)https://github.com/python/mypy/pull/18173/commits
Checkshttps://github.com/python/mypy/pull/18173/checks
Files changedhttps://github.com/python/mypy/pull/18173/files
Disallow no-args generic aliases when using PEP 613 explicit aliaseshttps://github.com/python/mypy/pull/18173#top
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
brianschubert:conformance-pep613-noargs-aliashttps://github.com/brianschubert/mypy/tree/conformance-pep613-noargs-alias
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Nov 19, 2024https://github.com/python/mypy/pull/18173#issue-2673728289
Please reload this pagehttps://github.com/python/mypy/pull/18173
this is okhttps://github.com/python/typing/blob/46b05a4c10ed3841c9bc5126ba9f31dd8ae061e7/conformance/tests/aliases_implicit.py#L130
this is nothttps://github.com/python/typing/blob/46b05a4c10ed3841c9bc5126ba9f31dd8ae061e7/conformance/tests/aliases_explicit.py#L100
#15924https://github.com/python/mypy/pull/15924
Please reload this pagehttps://github.com/python/mypy/pull/18173
brianschuberthttps://github.com/brianschubert
November 19, 2024 16:45https://github.com/python/mypy/pull/18173#commits-pushed-be7bc52
https://github.com/brianschubert
Disallow implicitly generic aliases when using PEP 613 explicit aliaseshttps://github.com/python/mypy/pull/18173/commits/be7bc522210be11d917781047dbf61b96d4450a0
be7bc52https://github.com/python/mypy/pull/18173/commits/be7bc522210be11d917781047dbf61b96d4450a0
https://github.com/brianschubert
Delete stale comment referencing non-existent attributehttps://github.com/python/mypy/pull/18173/commits/6563c362fd5ee8e1fbf17775eab5dcad5a0a7459
6563c36https://github.com/python/mypy/pull/18173/commits/6563c362fd5ee8e1fbf17775eab5dcad5a0a7459
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Nov 19, 2024https://github.com/python/mypy/pull/18173#issuecomment-2486893158
Please reload this pagehttps://github.com/python/mypy/pull/18173
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18173
https://github.com/brianschubert
Update test: no-args PEP 613 aliases are no longer eagerly expandedhttps://github.com/python/mypy/pull/18173/commits/a5e3cb51c7421a7855a7a0883d8da76d7b55de3b
a5e3cb5https://github.com/python/mypy/pull/18173/commits/a5e3cb51c7421a7855a7a0883d8da76d7b55de3b
https://github.com/python/mypy/blob/21587f01045246a9ecb54a054a5ba03e20cbbd19/mypy/typeanal.py#L2147-L2151https://github.com/python/mypy/blob/21587f01045246a9ecb54a054a5ba03e20cbbd19/mypy/typeanal.py#L2147-L2151
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18173
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Nov 20, 2024https://github.com/python/mypy/pull/18173#issuecomment-2487079456
Please reload this pagehttps://github.com/python/mypy/pull/18173
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Nov 21, 2024 https://github.com/python/mypy/pull/18173#pullrequestreview-2451693018
View reviewed changes https://github.com/python/mypy/pull/18173/files/a5e3cb51c7421a7855a7a0883d8da76d7b55de3b
test-data/unit/check-type-aliases.testhttps://github.com/python/mypy/pull/18173/files/a5e3cb51c7421a7855a7a0883d8da76d7b55de3b#diff-76a9f75952f0c89d17feb57ed74a44e185bf605c852ebede9f54eef6fd3e4599
Please reload this pagehttps://github.com/python/mypy/pull/18173
https://github.com/brianschubert
Add tests for generic classes and tuple/callable special caseshttps://github.com/python/mypy/pull/18173/commits/d1c756bc5a8b93359f2b094e9edfeee293b65029
d1c756bhttps://github.com/python/mypy/pull/18173/commits/d1c756bc5a8b93359f2b094e9edfeee293b65029
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 21, 2024https://github.com/python/mypy/pull/18173#issuecomment-2491742363
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/18173
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Dec 20, 2024 https://github.com/python/mypy/pull/18173#pullrequestreview-2517929554
View reviewed changes https://github.com/python/mypy/pull/18173/files/d1c756bc5a8b93359f2b094e9edfeee293b65029
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
c859cb1https://github.com/python/mypy/commit/c859cb1f18bcf4084d5e937cc6e4433b0fbbd0c8
Dec 20, 2024https://github.com/python/mypy/pull/18173#event-15734668010
https://github.com/wesleywright
wesleywrighthttps://github.com/wesleywright
Jan 19, 2025 https://github.com/python/mypy/pull/18173#ref-issue-2797748691
[regression] isinstance complains about parametrized generics with any use of TypeAlias #18488 https://github.com/python/mypy/issues/18488
hauntsaninjahttps://github.com/hauntsaninja
Jan 23, 2025 https://github.com/python/mypy/pull/18173#ref-commit-894d47c
https://github.com/hauntsaninja
Fix isinstance with explicit (non generic) type aliashttps://github.com/hauntsaninja/mypy/commit/894d47c3d12d5b2cfb918f8142263070ca97961b
894d47chttps://github.com/hauntsaninja/mypy/commit/894d47c3d12d5b2cfb918f8142263070ca97961b
python#18173https://github.com/python/mypy/pull/18173
python#18488https://github.com/python/mypy/issues/18488
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jan 23, 2025 https://github.com/python/mypy/pull/18173#ref-pullrequest-2805667981
Fix isinstance with explicit (non generic) type alias #18512 https://github.com/python/mypy/pull/18512
hauntsaninjahttps://github.com/hauntsaninja
Jan 23, 2025 https://github.com/python/mypy/pull/18173#ref-commit-6519335
https://github.com/hauntsaninja
Fix isinstance with explicit (non generic) type alias (https://github.com/python/mypy/commit/65193350d87fcc75636b1e3f4404693d57309e4f
#18512https://github.com/python/mypy/pull/18512
)https://github.com/python/mypy/commit/65193350d87fcc75636b1e3f4404693d57309e4f
6519335https://github.com/python/mypy/commit/65193350d87fcc75636b1e3f4404693d57309e4f
#18173https://github.com/python/mypy/pull/18173
#18488https://github.com/python/mypy/issues/18488
wesleywrighthttps://github.com/wesleywright
Jan 23, 2025 https://github.com/python/mypy/pull/18173#ref-commit-23d862d
https://github.com/hauntsaninja
https://github.com/wesleywright
Fix isinstance with explicit (non generic) type alias (https://github.com/python/mypy/commit/23d862dd6fbb905a69bcb31e88746dc7a1eb4a43
#18512https://github.com/python/mypy/pull/18512
)https://github.com/python/mypy/commit/23d862dd6fbb905a69bcb31e88746dc7a1eb4a43
23d862dhttps://github.com/python/mypy/commit/23d862dd6fbb905a69bcb31e88746dc7a1eb4a43
#18173https://github.com/python/mypy/pull/18173
#18488https://github.com/python/mypy/issues/18488
x612skmhttps://github.com/x612skm
Feb 24, 2025 https://github.com/python/mypy/pull/18173#ref-commit-4838cab
https://github.com/hauntsaninja
https://github.com/x612skm
Fix isinstance with explicit (non generic) type alias (https://github.com/x612skm/mypy-dev/commit/4838cab5100ad1f86ebf82a797275efc4f3a4ffa
python#18512https://github.com/python/mypy/pull/18512
)https://github.com/x612skm/mypy-dev/commit/4838cab5100ad1f86ebf82a797275efc4f3a4ffa
4838cabhttps://github.com/x612skm/mypy-dev/commit/4838cab5100ad1f86ebf82a797275efc4f3a4ffa
python#18173https://github.com/python/mypy/pull/18173
python#18488https://github.com/python/mypy/issues/18488
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%2F18173
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/18173/files/d1c756bc5a8b93359f2b094e9edfeee293b65029
Please reload this pagehttps://github.com/python/mypy/pull/18173
Please reload this pagehttps://github.com/python/mypy/pull/18173
https://github.com/brianschubert
https://github.com/JukkaL
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.