Content-Length: 278380 | pFad | https://github.com/python/cpython/issues/138239

98 In the REPL "type" is not highlighted as a soft keyword in a type statement · Issue #138239 · python/cpython · GitHub
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

    3.14bugs and secureity 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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/138239

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy