Vishvananda Ishaya added the comment: The attached file illustrates the error when attempting to call handler.emit() when the file cannot be opened. Even if this situation is later remedied all future emit() calls will fail since stream.flush() is called on a fd that has already been closed.
---------- Added file: http://bugs.python.org/file35605/log2.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21742> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com