Peter Gibson <peteh...@gmail.com> added the comment: Not my code, but as it's using a pipe to communicate with another process, I assume that the flush call is intended to discard any unwanted output prior to sending a command and processing the result.
Is there another way to achieve the same effect, such as reading and remaining characters in the buffer? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7240> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com