New submission from Esa Peuha: Running test_logging produces the following:
/home/peuha/python/cpython/Lib/logging/handlers.py:550: ResourceWarning: unclosed <socket.socket fd=4, family=1, type=2049, proto=0> self.retryTime = now + self.retryPeriod /home/peuha/python/cpython/Lib/logging/handlers.py:550: ResourceWarning: unclosed <socket.socket fd=4, family=1, type=2049, proto=0> self.retryTime = now + self.retryPeriod This turns out to be a bug in SocketHandler.makeSocket; the attachment should fix it. ---------- components: Library (Lib) files: logging.handlers.diff keywords: patch messages: 199074 nosy: Esa.Peuha priority: normal severity: normal status: open title: Socket leak in logging.handlers type: behavior Added file: http://bugs.python.org/file31973/logging.handlers.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19182> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com