Message80026
In a program, I naturally wrote:
>>> from ftplib import FTP
>>> with FTP('ftp.somewhere.com') as ftp:
... ftp.login('someone', 'pass')
... ...
Until I realized this class is not equipped with __enter__ and __exit__,
I think it could be a simple and pleasant enhancement to add it. |
|
Date |
User |
Action |
Args |
2009-01-17 17:28:58 | tarek | set | recipients:
+ tarek |
2009-01-17 17:28:58 | tarek | set | messageid: <1232213338.37.0.108210239108.issue4972@psf.upfronthosting.co.za> |
2009-01-17 17:28:09 | tarek | link | issue4972 messages |
2009-01-17 17:28:08 | tarek | create | |
|