Author tarek
Recipients tarek
Date 2009-01-17.17:28:08
SpamBayes Score 0.0287202
Marked as misclassified No
Message-id <>
In a program, I naturally wrote:

    >>> from ftplib import FTP
    >>> with FTP('') 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:58tareksetrecipients: + tarek
2009-01-17 17:28:58tareksetmessageid: <>
2009-01-17 17:28:09tareklinkissue4972 messages
2009-01-17 17:28:08tarekcreate