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

2013-01-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Imaplib tests was changed a lot since 3.2. Here is an updated patch.

--
nosy: +serhiy.storchaka
Added file: http://bugs.python.org/file28871/imaplib_with_2.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



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

2013-01-26 Thread Ezio Melotti

Ezio Melotti added the comment:

ftplib.FTP and smtplib.SMTP support the with statement since 3.2 and 3.3 
respectively.
imaplib seems to be the only one left.
Can someone review and commit the patch for 3.4?

--
stage: needs patch - patch review
versions: +Python 3.4 -Python 3.2, Python 3.3

___
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



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

2011-03-15 Thread SilentGhost

SilentGhost ghost@gmail.com added the comment:

The work on smtplib context manager continues in #11289. I'm putting it as a 
dependency here.

--
dependencies: +smtplib context manager
nosy: +SilentGhost
versions: +Python 3.3

___
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



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

2010-11-11 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
stage:  - needs patch
title: let's equip ftplib.FTP with __enter__ and __exit__ - context 
managerment support in imaplib, smtplib, ftplib

___
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