[issue4972] context management support in imaplib, smtplib, ftplib

Serhiy Storchaka report at bugs.python.org
Sat Feb 16 23:14:01 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue4972>
_______________________________________


More information about the Python-bugs-list mailing list