SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-135124: Change stdout errors in regrtest worker process (#135138)

Set sys.stdout encoder error handler to backslashreplace in regrtest
workers to avoid UnicodeEncodeError when printing a traceback
or any other non-encodable character.

Move the code from the Regrtest class to setup_process().

Call setup_process() earlier, before displaying regrtest headers.
V
Victor Stinner committed
3d396ab7591d544ac8bc1fb49615b4e867ca1c83
Parent: 2e1544f
Committed by GitHub <noreply@github.com> on 6/5/2025, 9:17:03 AM