Skip to content

nt._supports_virtual_terminal missing guard for console io #133537

Description

@maxbachmann

Bug report

Bug description:

nt._supports_virtual_terminal uses windows console io calls even when they aren't available in the windows app partition. This leads to compilation failures

CPython versions tested on:

3.13

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions