Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
Maximilian, thanks for the investigation. A check for 'fileno != -1' seems correct to me. Would you prepare a pull request? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43253> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com