Skip to content

Support Python 3.14 #15506

@InSyncWithFoo

Description

@InSyncWithFoo

This is the tracking issue for updates required to support Python 3.14.

The major changes are (so far) as follows:

Parser Updates

Formatter Updates

  • Support for template strings
    • Let's delay opening an issue for this until the implementation is actually merged in to CPython
  • Decide how to handle formatting for unparenthesized except tuples

Syntax Errors

Semantic Model

Affected Rules

It is probably best to wait until the first round of changes to the semantic model have been made before tackling these.

More generally - we should grep for documentation or rules that suggest or mention from __future__ import annotations and see if these need to be updated to exclude Python 3.14+.

Below the fold is a list of rules that may need to be adjusted to handle t-strings correctly.

Rules possibly affected by t-strings

Miscellaneous To-Dos

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    python314Related to Python 3.14trackingA "meta" issue that tracks completion of a bigger task via a list of smaller scoped issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions