Nadeem Vawda <[email protected]> added the comment: Fix attached for test_imaplib. Most of the warnings were simply due to reap_server() not closing the server object correctly. The remaining warning was due a genuine leak in imaplib.IMAP4.__init__() - if an exception is raised after the connection is opened, the socket is not closed.
---------- Added file: http://bugs.python.org/file20283/test_imaplib.diff _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10512> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
