]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125942: Android: set stdout to `errors="backslashreplace"` (#125943)
authorMalcolm Smith <smith@chaquo.com>
Fri, 25 Oct 2024 00:35:41 +0000 (01:35 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2024 00:35:41 +0000 (08:35 +0800)
commitb08570c90eb9fa2e2ee4429909b14240b7a427d4
tree24c4ef1afd0ddeb152c8656da9b7a6d0974050b4
parente68d4b08ff13a06a2c2877f63bf856e6bf3c2e77
gh-125942: Android: set stdout to `errors="backslashreplace"` (#125943)

Android stdout/err streams now use `backslashreplace` encoding to ensure readability of the Android log.
Lib/_android_support.py
Lib/test/test_android.py
Misc/NEWS.d/next/Core_and_Builtins/2024-10-24-22-43-03.gh-issue-125942.3UQht1.rst [new file with mode: 0644]