Skip to content

Python in terminal - syntax highlighting ruins useability #157545

Description

@urbrato

Bug report

Bug description:

Since Python 3.14.6, maybe earlier, using "py" in Windows console causes python syntax highlighting. It uses almost all of standard 16 minimum-minimorum colors, so "py" command console mode becames totally unusable in any of the window background color. Exemple gratia, "def" shows with navy font color, almost invisible on black screen, however function name after def shows with white font color, surely invisible on white screen. So, console mode is totally ruined. Attempt to get rid of this contrenhancement using PYTHONNOCOLOR environment variable has no effect.

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Activity

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

    OS-windowsstdlibStandard 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