mhsmith · GitHub

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

Read the original on github.com ↗