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
    type-bug
    on Oct 17, 2025
  2. added
    stdlib
    topic-repl
    on Oct 17, 2025
  3. 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.

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

    stdlibtopic-repltype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions