Skip to content

In the REPL "type" is not highlighted as a soft keyword in a type statement #138239

@00ll00

Description

@00ll00

Bug report

Bug description:

In the Python 3.14.0rc2 REPL, type the following:

type Point = tuple[int, int]

You can see that type is highlighted as a builtin rather than a soft keyword, which does not match the description in PEP-695.

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions