Skip to content

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

Closed

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

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Aug 29, 2025
  2. changed the title [-]"type" is not highlighted as a soft keyword in a type statement.[/-] [+]In the REPL "type" is not highlighted as a soft keyword in a type statement.[/+] on Aug 29, 2025
  3. added
    topic-replRelated to the interactive shell
    stdlibStandard Library Python modules in the Lib/ directory
    on Aug 29, 2025
  4. changed the title [-]In the REPL "type" is not highlighted as a soft keyword in a type statement.[/-] [+]In the REPL "type" is not highlighted as a soft keyword in a type statement[/+] on Aug 29, 2025
  5. added a commit that references this issue on Sep 15, 2025
  6. added a commit that references this issue on Sep 15, 2025
  7. added a commit that references this issue on Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-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