summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-21 14:52:17 (GMT)
committerPablo Galindo <pablogsal@gmail.com>2022-10-24 15:45:42 (GMT)
commit965ce0d8f103364b9e8a9e22314b9316b961e3a0 (patch)
tree7a182f0fcf39476e0e82c573c8dc181f150c1bee /Misc
parenta1f4e42619e3dede9f465d8ee691e04e5eb30026 (diff)
downloadcpython-965ce0d8f103364b9e8a9e22314b9316b961e3a0.zip
cpython-965ce0d8f103364b9e8a9e22314b9316b961e3a0.tar.gz
cpython-965ce0d8f103364b9e8a9e22314b9316b961e3a0.tar.bz2
gh-95027: Fix regrtest stdout encoding on Windows (GH-98492)
On Windows, when the Python test suite is run with the -jN option, the ANSI code page is now used as the encoding for the stdout temporary file, rather than using UTF-8 which can lead to decoding errors. (cherry picked from commit ec1f6f5f139868dc2c1116a7c7c878c38c668d53) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2022-10-20-17-49-50.gh-issue-95027.viRpJB.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2022-10-20-17-49-50.gh-issue-95027.viRpJB.rst b/Misc/NEWS.d/next/Tests/2022-10-20-17-49-50.gh-issue-95027.viRpJB.rst
new file mode 100644
index 0000000..8bf1a9d
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2022-10-20-17-49-50.gh-issue-95027.viRpJB.rst
@@ -0,0 +1,4 @@
+On Windows, when the Python test suite is run with the ``-jN`` option, the
+ANSI code page is now used as the encoding for the stdout temporary file,
+rather than using UTF-8 which can lead to decoding errors. Patch by Victor
+Stinner.