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

2013-01-27 Thread Berker Peksag
Berker Peksag added the comment: The patch lacks documentation updates. -- nosy: +berker.peksag title: context managerment support in imaplib, smtplib, ftplib -> context management support in imaplib, smtplib, ftplib ___ Python tracker

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

2013-02-16 Thread Serhiy Storchaka
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 _