Serhiy Storchaka added the comment: > How do you decide which object should be flushed? In which order? We have to > take care of signals, threads and forks, stay portable, etc.
The order doesn't matter. If you call flush() of TextIOWrapper, flushes of buffered writer and raw file will be called automatically. And flush() can be called multiple times. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17852> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com