[issue8533] regrtest: use backslashreplace error handler for stdout
STINNER Victor
report at bugs.python.org
Mon Apr 26 14:47:24 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> A better resolution IMO would be to output tracebacks on stderr instead.
Yeah, that sounds easier and safer. Attached patch writes the tracebacks to stderr.
I don't remember how to reproduce this issue :-/ I guess that stdout/stderr encoding should be ASCII (eg. LANG="") and the traceback (eg. the error message) should contain a non-ASCII character.
----------
Added file: http://bugs.python.org/file17093/regrtest_traceback_stderr.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8533>
_______________________________________
More information about the Python-bugs-list
mailing list