You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Highlights
Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810),
both new syntactic features in Python 3.15 (#5048)
Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so
performance may be slower than on existing Python versions. Wheels will be provided
once Python 3.15 is later in its release cycle. (#5127)
Stable style
Fix # fmt: skip being ignored in nested if expressions with parenthesized in
clauses (#4903)
Fix crash when an f-string follows a # fmt: off comment inside brackets (#5097)
Preserve multiline compound statement headers when # fmt: skip is placed on the
colon line (#5117)
Preview style
Improve heuristics around whether blank lines should appear before, within and after
groups of same-name decorated functions (such as @overload groups) in .pyi stub
files (#5021)
Fix blank lines being removed between a function and a decorated class in .pyi stub
files (#5092)
Prevent string merger from creating unsplittable long lines when a pragma comment
(e.g. # type: ignore) follows the closing bracket (#5096)