Skip to content

The pre-import line of asyncio is not colorized #140251

Closed

Description

@frostming

Bug report

Bug description:

Run python -m asyncio

The first line is not colorized, causing some inconsistency.

Image

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

  1. added
    stdlibStandard Library Python modules in the Lib/ directory
    topic-replRelated to the interactive shell
    on Oct 17, 2025
  2. johnslavik commented on Oct 17, 2025

    @johnslavik
    Member

    Good catch! This lack of coloring was noted by @ambv in #119433 (comment) back when the asyncio REPL was being migrated to use the new REPL.

  3. added a commit that references this issue on Oct 18, 2025
  4. added a commit that references this issue on Dec 6, 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

    stdlibStandard 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