]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-125942: Android: set stdout to `errors="backslashreplace"` (GH-125943)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 25 Oct 2024 00:59:23 +0000 (02:59 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2024 00:59:23 +0000 (00:59 +0000)
commit083c5814c85e1daff54d2e0e1e08c5028f5d8bc8
treef3da01bd9db3e88fc77a9a574df3bbb6eabc0489
parent904634b2580565de73905f96d6a1ac42058c1978
[3.13] gh-125942: Android: set stdout to `errors="backslashreplace"` (GH-125943) (#125950)

gh-125942: Android: set stdout to `errors="backslashreplace"` (GH-125943)

Android stdout/err streams now use `backslashreplace` encoding to ensure readability of the Android log.
(cherry picked from commit b08570c90eb9fa2e2ee4429909b14240b7a427d4)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
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]