diff options
author | Victor Stinner <vstinner@python.org> | 2022-10-21 14:21:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 14:21:36 (GMT) |
commit | ec1f6f5f139868dc2c1116a7c7c878c38c668d53 (patch) | |
tree | f610a4e94ffd2a881a38e4ad4f6eca61f735c346 /Misc/NEWS.d | |
parent | 82ccbf69a842db25d8117f1c41b47aa5b4ed96ab (diff) | |
download | cpython-ec1f6f5f139868dc2c1116a7c7c878c38c668d53.zip cpython-ec1f6f5f139868dc2c1116a7c7c878c38c668d53.tar.gz cpython-ec1f6f5f139868dc2c1116a7c7c878c38c668d53.tar.bz2 |
gh-95027: Fix regrtest stdout encoding on Windows (#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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2022-10-20-17-49-50.gh-issue-95027.viRpJB.rst | 4 |
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. |