Serhiy Storchaka added the comment: Here is an updated patch. Updated documentation, added checks that logout executed after a with statement, now logout() can be called inside a with statement.
---------- Added file: http://bugs.python.org/file29091/imaplib_with_3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com