[issue27829] test.regrtest: changed environment variables are not logged

STINNER Victor report at bugs.python.org
Fri Sep 23 05:58:05 EDT 2016


STINNER Victor added the comment:

> I thought sys.stderr is line buffered and doesn't need flush=True if prints a complete line.

I tried random changes since I was unable to reproduce the issue and didn't understand why the the warning was not printed.

I'm not sure that stderr is always line buffered. Is it the case even if stderr is redirected to a pipe?

----------

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


More information about the Python-bugs-list mailing list