Skip to content

Android: stdout is set to errors="surrogateescape" #125942

Closed

Description

@mhsmith

Bug report

Bug description:

The Android stdout and stderr tests include an assertion that both streams are set to errors="backslashreplace", which is the most useful setting for redirecting the streams to the Android log. However, this test only passed because the CPython test harness reconfigures stdout – outside of the tests, it's set to surrogateescape.

CPython versions tested on:

3.13

Operating systems tested on:

No response

Linked PRs

Activity

  1. added a commit that references this issue on Oct 25, 2024
  2. added a commit that references this issue on Oct 25, 2024
  3. added a commit that references this issue on Oct 25, 2024
  4. added a commit that references this issue on Jan 12, 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

    OS-androidtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions