DetachHead
DetachHead
``` File "/home/me/projects/test/asdf.py", line 1 def f[T: tuple[object, ...]() -> tuple[*T]: ... # no error reported ^ SyntaxError: expected '(' ``` hmm, i think its because your code contains a...
so this is the crash you're talking about: ``` Traceback (most recent call last): File "/home/me/projects/test/asdf.py", line 1, in def f[T: tuple[object, ...]]() -> tuple[*T]: ... # no error reported...
i think this issue is partially caused by #1530, which is causing `T` to be incorrectly inferred as covariant when it should be invariant. if we explicitly make it invariant,...
doesn't necessarily need to be a `TypedDict`, i don't see why it shouldn't work if oit's bound to `Mapping[str, object]`: ```py from typing import Unpack from collections.abc import Mapping class...
it should still be able to unpack them even if it's a different subtype of mapping imo
let us know if that functionality ever gets removed and we'll add it back :)
What's the difference between this issue and #179?
i would think assigning it to `_` indicates that you're explicitly ignoring the coroutine, just like with `reportUnusedCallResult`. the eslint equivalent rule [@typescript-eslint/no-floating-promises](https://typescript-eslint.io/rules/no-floating-promises) has a similar feature where you can...
its a `RuntimeWarning` not a crash: ``` /home/me/projects/test/asdf.py:6: RuntimeWarning: coroutine 'f' was never awaited f() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ``` but on second thought it...