René's URL Explorer Experiment


Title: "INTERNAL_ERROR": generic fun w/ Callable param w/ constrained return type followed by `*args` typed as `*Tuple[int, float]` crashes mypy · Issue #21907 · python/mypy · GitHub

Open Graph Title: "INTERNAL_ERROR": generic fun w/ Callable param w/ constrained return type followed by `*args` typed as `*Tuple[int, float]` crashes mypy · Issue #21907 · python/mypy

X Title: "INTERNAL_ERROR": generic fun w/ Callable param w/ constrained return type followed by `*args` typed as `*Tuple[int, float]` crashes mypy · Issue #21907 · python/mypy

Description: Crash Report Create crash_example.py as follows: from typing import * # mypy latest from master branch crashes (mypy 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e) (and earlier prod releases as well) def generic_fun[ TypeVarWithCons...

Open Graph Description: Crash Report Create crash_example.py as follows: from typing import * # mypy latest from master branch crashes (mypy 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e) (and earlier prod releases a...

X Description: Crash Report Create crash_example.py as follows: from typing import * # mypy latest from master branch crashes (mypy 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e) (and earlier prod releases a...

Opengraph URL: https://github.com/python/mypy/issues/21907

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"INTERNAL_ERROR\": generic fun w/ Callable param w/ constrained return type followed by `*args` typed as `*Tuple[int, float]` crashes mypy","articleBody":"**Crash Report**\n\n- Create crash_example.py as follows:\n```\nfrom typing import *\n\n# mypy latest from master branch crashes (mypy 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e) (and earlier prod releases as well)\ndef generic_fun[\n   TypeVarWithConstraints: (str, bytes),\n](\n   a: Callable[..., TypeVarWithConstraints],\n   *args: *Tuple[int, float]\n): pass\n```\n- run mypy 2.3.1 or latest master on Github (2.4.0+dev) and observe a crash with \"INTERNAL_ERROR\":\n```\n[liveuser@localhost-live ~]$ mypy crash_example.py --show-traceback\ncrash_example.py:4: error: INTERNAL ERROR -- Please try using mypy master on GitHub:\nhttps://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build\nPlease report a bug at https://github.com/python/mypy/issues\nversion: 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e\n[--show-traceback output is included further down]\n```\n\n---\n\n\n**Traceback**\n\n```python-traceback\nTraceback (most recent call last):\n  File \"/home/liveuser/.local/bin/mypy\", line 8, in \u003cmodule>\n    sys.exit(console_entry())\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/__main__.py\", line 16, in console_entry\n    main()\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/main.py\", line 154, in main\n    res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/main.py\", line 244, in run_build\n    res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 422, in build\n    result = build_inner(\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 537, in build_inner\n    graph = dispatch(sources, manager, stdout, connect_threads)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 4150, in dispatch\n    process_graph(graph, manager)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 4618, in process_graph\n    done, still_working, results = manager.wait_for_done(graph)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 1484, in wait_for_done\n    process_stale_scc(graph, next_scc, self)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 4793, in process_stale_scc\n    graph[id].type_check_first_pass()\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/build.py\", line 3410, in type_check_first_pass\n    self.type_checker().check_first_pass(recurse_into_functions=recurse_into_functions)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/checker.py\", line 632, in check_first_pass\n    self.accept(d)\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/checker.py\", line 779, in accept\n    stmt.accept(self)\n    ~~~~~~~~~~~^^^^^^\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/nodes.py\", line 1165, in accept\n    return visitor.visit_func_def(self)\n           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/checker.py\", line 1346, in visit_func_def\n    self.visit_func_def_impl(defn)\n    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/checker.py\", line 1350, in visit_func_def_impl\n    self.check_func_item(defn, name=defn.name)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/checker.py\", line 1383, in check_func_item\n    self.check_func_def(defn, typ, name, allow_empty)\n    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/checker.py\", line 1514, in check_func_def\n    store_argument_type(item, i, typ, self.named_generic_type)\n    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/liveuser/.local/lib/python3.13/site-packages/mypy/types_utils.py\", line 183, in store_argument_type\n    defn.arguments[i].variable.type = arg_type\n    ~~~~~~~~~~~~~~^^^\nIndexError: list index out of range\n\ncrash_example.py:4: note: use --pdb to drop into pdb\n```\n\n---\n\n**Context/motivation**\n\nIn PEP-0646 ( https://peps.python.org/pep-0646/ ), it is shown how an unpacked Tuple can be used to specify the type of `*args`:\n```\n# example from PEP-0646\ndef foo(*args: *Tuple[int, str]) -> None: pass\n\nfoo(1, \"hello\")  # OK\n```\n\nIn https://docs.python.org/3.13/reference/compound_stmts.html#type-parameter-lists\n(separate from the SyntaxError in their `overly_generic` example which I have reported to the python team and am working with them to fix),\nsaying\n> A parenthesized tuple of expressions after the colon indicates a set of constraints (e.g. T: (str, bytes)). Each member of the tuple should be a type (again, this is not enforced at runtime). Constrained type variables can only take on one of the types in the list of constraints.\ne.g.\n```\nfrom typing import *\n\ndef generic_fun_takes_a_callable_that_returns_either_str_or_bytes[\n        TypeVarWithConstraints: (str, bytes),\n](a: Callable[..., TypeVarWithConstraints]):\n    pass\n\ndef some_fun_returns_str() -> str:\n    return 'abc'\n\ndef some_fun_returns_bytes() -> bytes:\n    return b'abc'\n\ndef some_fun_returns_int() -> int:\n    return 1\n\ngeneric_fun_takes_a_callable_that_returns_either_str_or_bytes(some_fun_returns_str) # ok\n\ngeneric_fun_takes_a_callable_that_returns_either_str_or_bytes(some_fun_returns_bytes) # ok\n\n# not ok:\n# error: Value of type variable \"TypeVarWithConstraints\" of \"generic_fun_takes_a_callable_that_returns_either_str_or_bytes\" cannot be \"int\"  [type-var]\n# generic_fun_takes_a_callable_that_returns_either_str_or_bytes(some_fun_returns_int)\n````\n\nSo given \n```\n def generic_fun_takes_a_callable_that_returns_either_str_or_bytes[\n        TypeVarWithConstraints: (str, bytes),\n](a: Callable[..., TypeVarWithConstraints]):\n    pass\n```\n\nis ok and\n```\n# example from PEP-0646\ndef foo(*args: *Tuple[int, str]) -> None: pass\n```\nis ok,\nwhat about a function that has the arguments of the 1st followed by the arguments of the 2nd example, which both work fine with mypy on their own? (note PEP-0646 gives examples of `*args` being typed by an unpacked tuple even when preceded by other arguments)\n```\ndef generic_fun[\n   TypeVarWithConstraints: (str, bytes),\n](\n   a: Callable[..., TypeVarWithConstraints],\n   *args: *Tuple[int, float]\n): pass\n```\n\nIt turns out that the above crashes mypy unexpectedly in a way that causes the problem to tell me to file a bug, so I am doing so (see traceback towards top of ticket).\n\n---\n\n\n**Your Environment**\n\n- Fedora Linux 42\n- mypy 2.3.1 and mypy 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e\n- python 3.13.2 in this case\n\n---\n\nThanks very much!\n\n","author":{"url":"https://github.com/willy-b","@type":"Person","name":"willy-b"},"datePublished":"2026-08-28T23:57:02Z","url":"https://github.com/python/mypy/issues/21907"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:90e6b722-1505-807e-a2fb-52e4866e9740
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF1C:4D1C6:2158060:2D598C4:6B00255E
html-safe-nonced5453f7524764ff29e82c01e38b53155a3ed32787f2e12c63b1e4c315c5a8859
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjFDOjREMUM2OjIxNTgwNjA6MkQ1OThDNDo2QjAwMjU1RSIsInZpc2l0b3JfaWQiOiI0ODY0MzA0NTI3OTg3Mjc1MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7983296443475344a91dd77510bfa81e7b72b1522dbd652274c4a857866971c2
hovercard-subject-tagissue:5283294803
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/21907/issue_layout
twitter:imagehttps://opengraph.githubassets.com/60883456c603ccee32bdf497b7305b6aab2de13fb965770006a8b3c03797b1b5/python/mypy/issues/21907
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60883456c603ccee32bdf497b7305b6aab2de13fb965770006a8b3c03797b1b5/python/mypy/issues/21907
og:image:altCrash Report Create crash_example.py as follows: from typing import * # mypy latest from master branch crashes (mypy 2.4.0+dev.b974556f84bd4ff5280b66bce1413fa942d1261e) (and earlier prod releases a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewilly-b
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/21907#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F21907
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%2Fissues%2F21907
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/21907
Reloadhttps://github.com/python/mypy/issues/21907
Reloadhttps://github.com/python/mypy/issues/21907
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
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21907
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21907
#22107https://github.com/python/mypy/pull/22107
"INTERNAL_ERROR": generic fun w/ Callable param w/ constrained return type followed by *args typed as *Tuple[int, float] crashes mypyhttps://github.com/python/mypy/issues/21907#top
#22107https://github.com/python/mypy/pull/22107
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
topic-pep-646PEP 646 (TypeVarTuple, Unpack)https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-pep-646%22
https://github.com/willy-b
willy-bhttps://github.com/willy-b
on Aug 28, 2026https://github.com/python/mypy/issues/21907#issue-5283294803
https://peps.python.org/pep-0646/https://peps.python.org/pep-0646/
https://docs.python.org/3.13/reference/compound_stmts.html#type-parameter-listshttps://docs.python.org/3.13/reference/compound_stmts.html#type-parameter-lists
willy-bhttps://github.com/willy-b
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
on Aug 28, 2026https://github.com/python/mypy/issues/21907#event-30193637426
willy-bhttps://github.com/willy-b
on Aug 28, 2026https://github.com/python/mypy/issues/21907#event-30193641014
https://github.com/willy-b
willy-bhttps://github.com/willy-b
on Aug 29, 2026https://github.com/python/mypy/issues/21907#issuecomment-5459007709
https://docs.python.org/3.13/reference/compound_stmts.html#type-parameter-listshttps://docs.python.org/3.13/reference/compound_stmts.html#type-parameter-lists
https://github.com/willy-b
willy-bhttps://github.com/willy-b
on Aug 31, 2026https://github.com/python/mypy/issues/21907#issuecomment-5485553021
willy-bhttps://github.com/willy-b
on Sep 15, 2026https://github.com/python/mypy/issues/21907#event-31204765390
Add a currently failing mypy test which reproduces the issue python#2…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/66eb0c971b4320dd2ed46cf27d12e4daf2aed49a
python#2…https://github.com/python/mypy/issues/21907
66eb0c9https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/66eb0c971b4320dd2ed46cf27d12e4daf2aed49a
https://github.com/willy-b
willy-bhttps://github.com/willy-b
on Sep 15, 2026https://github.com/python/mypy/issues/21907#issuecomment-5688599215
mypy/mypy/checker.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/checker.py#L1514
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
mypy/mypy/types_utils.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/types_utils.py#L183
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
mypy/mypy/checker.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/checker.py#L1455
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
mypy/mypy/checker.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/checker.py#L2286
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
mypy/mypy/expandtype.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/expandtype.py#L501
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
mypy/mypy/expandtype.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/expandtype.py#L501
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
mypy/test-data/unit/check-typevar-values.testhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/test-data/unit/check-typevar-values.test#L760
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
willy-b@66eb0c9https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/66eb0c971b4320dd2ed46cf27d12e4daf2aed49a
mypy/mypy/checker.pyhttps://github.com/python/mypy/blob/4fa665256c52b09ff20fb91af45dfa005f8a27e8/mypy/checker.py#L1514
4fa6652https://github.com/python/mypy/commit/4fa665256c52b09ff20fb91af45dfa005f8a27e8
willy-bhttps://github.com/willy-b
on Sep 16, 2026https://github.com/python/mypy/issues/21907#event-31248923196
Add more currently failing mypy tests related to issue python#21907 p…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/84c4224f9b7280b917fd8cc156f65b060fda55f2
python#21907https://github.com/python/mypy/issues/21907
84c4224https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/84c4224f9b7280b917fd8cc156f65b060fda55f2
Add more currently failing mypy tests related to issue python#21907 p…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/6389b34b0ebba57e6575fc1dee1a0e4b8821be79
python#21907https://github.com/python/mypy/issues/21907
6389b34https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/6389b34b0ebba57e6575fc1dee1a0e4b8821be79
Add more currently failing mypy tests related to issue python#21907 p…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/cbfca646d6c69c57b8c486e8b2ed4270849b83e4
python#21907https://github.com/python/mypy/issues/21907
cbfca64https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/cbfca646d6c69c57b8c486e8b2ed4270849b83e4
Enhance/add more already failing MyPy tests that when passing will se…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/cfbe5246b030c47bba2d53662290b83d51c3e1b0
cfbe524https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/cfbe5246b030c47bba2d53662290b83d51c3e1b0
add a deps-expressions.test (currently failing) that should pass when p…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/c86431201029f784b1d4e6c0dc1eecd5975ae48e
p…https://github.com/python/mypy/issues/21907
c864312https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/c86431201029f784b1d4e6c0dc1eecd5975ae48e
add a check-assert-type-fail.test (currently failing) that should pas…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/22b2360278ae909aa05d3ee34ed0c329dd147036
22b2360https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/22b2360278ae909aa05d3ee34ed0c329dd147036
Exploring a possible way to fix python#21907 (needs additional testing)https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/eb59611a405c37bb335d9d3272808997ec044431
python#21907https://github.com/python/mypy/issues/21907
eb59611https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/eb59611a405c37bb335d9d3272808997ec044431
add more unit test variants with multiple constrained type params, un…https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/1be94f99d822855f89a8eba1a52d6b46ef6403c2
1be94f9https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/1be94f99d822855f89a8eba1a52d6b46ef6403c2
ilevkivskyihttps://github.com/ilevkivskyi
topic-pep-646PEP 646 (TypeVarTuple, Unpack)https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-pep-646%22
on Sep 30, 2026https://github.com/python/mypy/issues/21907#event-32162118994
ilevkivskyihttps://github.com/ilevkivskyi
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
0967b8ahttps://github.com/python/mypy/commit/0967b8a894b13847e3b10add3f77b44ea9fa69fd
on Oct 5, 2026https://github.com/python/mypy/issues/21907#event-32506372214
ilevkivskyihttps://github.com/ilevkivskyi
on Oct 5, 2026https://github.com/python/mypy/issues/21907#event-32509570587
Fix crash in function with unpack and constrained TypeVar (python#22107)https://github.com/ilevkivskyi/mypy/commit/0967b8a894b13847e3b10add3f77b44ea9fa69fd
python#22107https://github.com/python/mypy/pull/22107
0967b8ahttps://github.com/ilevkivskyi/mypy/commit/0967b8a894b13847e3b10add3f77b44ea9fa69fd
https://github.com/willy-b
willy-bhttps://github.com/willy-b
on Oct 5, 2026https://github.com/python/mypy/issues/21907#issuecomment-5996284862
@ilevkivskyihttps://github.com/ilevkivskyi
#22063https://github.com/python/mypy/issues/22063
88dd0b4https://github.com/python/mypy/commit/88dd0b467dc72af6c5ae9671e62041aa9b250faf
#21907https://github.com/python/mypy/issues/21907
#21907https://github.com/python/mypy/issues/21907
willy-b@eb59611https://github.com/willy-b/mypy-fork-to-try-to-fix-issue-21907/commit/eb59611a405c37bb335d9d3272808997ec044431
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/21907
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/21907
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
topic-pep-646PEP 646 (TypeVarTuple, Unpack)https://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-pep-646%22
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.