STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8533> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com