Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133711: Fix test_regrtest for PYTHONUTF8=1#134839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Use "backslashreplace" error handler to decode stdout and stderr.Example: vstinner@WIN C:\victor\python\main\build\test_python_worker_8360\x91> "C:\victor\python\main\PCbuild\amd64\python_d.exe" -m test --fast-ci --slow-ci --testdir C:\Users\vstinner\AppData\Local\Temp\tmp0t59e8da test_regrtest_noop1 test_regrtest_noop2 test_regrtest_noop3 test_regrtest_noop4Notice the "\x91" byte at the end of the first line: it's thenon-ASCII U+00E6 character encoded to the OEM cp437 code page.
Follow-up PR:#134840 "Log Windows OEM code page in test.pythoninfo". |
9161827
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Use "backslashreplace" error handler to decode stdout and stderr.Example: vstinner@WIN C:\victor\python\main\build\test_python_worker_8360\x91> "C:\victor\python\main\PCbuild\amd64\python_d.exe" -m test --fast-ci --slow-ci --testdir C:\Users\vstinner\AppData\Local\Temp\tmp0t59e8da test_regrtest_noop1 test_regrtest_noop2 test_regrtest_noop3 test_regrtest_noop4Notice the "\x91" byte at the end of the first line: it's thenon-ASCII U+00E6 character encoded to the OEM cp437 code page.(cherry picked from commit9161827)Co-authored-by: Victor Stinner <vstinner@python.org>
GH-134842 is a backport of this pull request to the3.14 branch. |
Use "backslashreplace" error handler to decode stdout and stderr.Example: vstinner@WIN C:\victor\python\main\build\test_python_worker_8360\x91> "C:\victor\python\main\PCbuild\amd64\python_d.exe" -m test --fast-ci --slow-ci --testdir C:\Users\vstinner\AppData\Local\Temp\tmp0t59e8da test_regrtest_noop1 test_regrtest_noop2 test_regrtest_noop3 test_regrtest_noop4Notice the "\x91" byte at the end of the first line: it's thenon-ASCII U+00E6 character encoded to the OEM cp437 code page.(cherry picked from commit9161827)Co-authored-by: Victor Stinner <vstinner@python.org>
GH-134843 is a backport of this pull request to the3.13 branch. |
…4843)gh-133711: Fix test_regrtest for PYTHONUTF8=1 (GH-134839)Use "backslashreplace" error handler to decode stdout and stderr.Example: vstinner@WIN C:\victor\python\main\build\test_python_worker_8360\x91> "C:\victor\python\main\PCbuild\amd64\python_d.exe" -m test --fast-ci --slow-ci --testdir C:\Users\vstinner\AppData\Local\Temp\tmp0t59e8da test_regrtest_noop1 test_regrtest_noop2 test_regrtest_noop3 test_regrtest_noop4Notice the "\x91" byte at the end of the first line: it's thenon-ASCII U+00E6 character encoded to the OEM cp437 code page.(cherry picked from commit9161827)Co-authored-by: Victor Stinner <vstinner@python.org>
…4842)gh-133711: Fix test_regrtest for PYTHONUTF8=1 (GH-134839)Use "backslashreplace" error handler to decode stdout and stderr.Example: vstinner@WIN C:\victor\python\main\build\test_python_worker_8360\x91> "C:\victor\python\main\PCbuild\amd64\python_d.exe" -m test --fast-ci --slow-ci --testdir C:\Users\vstinner\AppData\Local\Temp\tmp0t59e8da test_regrtest_noop1 test_regrtest_noop2 test_regrtest_noop3 test_regrtest_noop4Notice the "\x91" byte at the end of the first line: it's thenon-ASCII U+00E6 character encoded to the OEM cp437 code page.(cherry picked from commit9161827)Co-authored-by: Victor Stinner <vstinner@python.org>
Uh oh!
There was an error while loading.Please reload this page.
Use "backslashreplace" error handler to decode stdout and stderr. Example:
Notice the "\x91" byte at the end of the first line: it's the non-ASCII U+00E6 character encoded to the OEM cp437 code page.