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