Philip Jenvey <pjen...@underboss.org> added the comment: Why are you flushing stdout? It's read-only and flush is for writing. This behavior is dependent on the underlying platform's fflush, which really *should* be raising EBADF when fflushing a read only file, anyway
---------- nosy: +pjenvey _______________________________________ 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