Isaac Levy added the comment: I guess users need to check standard streams for None. There's not many uses of stream attributes in core libs.
Maybe catch should be Exception -- since it's documented to return a fallback on error. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24920> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com