Summary
The Ruff parser currently has some partial support for PEP 798 (new in Python 3.15); it supports list comprehensions but not other kinds of comprehensions. [*x for x in y] is accepted; {*x for x in y} is not.
I'm working on this and also other PEP 798 fallout in the linter, formatter, and type checker.
Version
No response
Summary
The Ruff parser currently has some partial support for PEP 798 (new in Python 3.15); it supports list comprehensions but not other kinds of comprehensions.
[*x for x in y]is accepted;{*x for x in y}is not.I'm working on this and also other PEP 798 fallout in the linter, formatter, and type checker.
Version
No response