[issue8533] regrtest: use backslashreplace error handler for stdout

STINNER Victor report at bugs.python.org
Wed May 5 23:31:11 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Reopen: r80703 (and r80711) introduces a new bug: on Windows, there is an empty string between each line. It looks like a newline error.

replace_stdout() should set the newline argument to open(). But how can I get the newline attribute from sys.stdout? sys.stdout._writenl?

regrtest_stdout_newline.patch should fix the newline problem.

----------
resolution: fixed -> 
status: closed -> open
Added file: http://bugs.python.org/file17228/regrtest_stdout_newline.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8533>
_______________________________________


More information about the Python-bugs-list mailing list