| [case testPEP798FailGracefully_python3_15] | |
| from typing import Iterator | |
| x = [[1]] | |
| y = [*l for l in x] # E: Unpacking in comprehensions is not supported yet | |
| dx = [{1: 1}] | |
| dy = {**d for d in dx} # E: Unpacking in comprehensions is not supported yet | |
| def f(it: Iterator[list[int]], x: list[list[int]], xs: list[list[str]]) -> None: | |
| list(*l for l in it) # E: Unpacking in comprehensions is not supported yet | |
| list(*l for l in x) # E: Unpacking in comprehensions is not supported yet | |
| tuple(*l for l in x) # E: Unpacking in comprehensions is not supported yet | |
| sorted(*l for l in x) # E: Unpacking in comprehensions is not supported yet | |
| any(*l for l in x) # E: Unpacking in comprehensions is not supported yet | |
| ",".join(*l for l in xs) # E: Unpacking in comprehensions is not supported yet | |
| sorted((*l for l in x), key=abs) # E: Unpacking in comprehensions is not supported yet |