Terry J. Reedy added the comment: Patch looks plausible to me. The flush calls definitely need to be guarded.
---------- nosy: +terry.reedy stage: -> patch review type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28326> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com