This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alanmcintyre
Recipients
Date 2007-08-17.20:52:46
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Two minor changes:

- In SMTP.send, there is a check for self.sock, which may  not exist if there has been no attempt to connect.  This patch adds a check for hasattr(self, 'sock') so that such an attempt to call send() will raise the more helpful SMTPServerDisconnected instead of an AttributeError.

- The docstring for SMTP.expn is a copy of that of the verify method.  This patch changes it to something more appropriate.
History
Date User Action Args
2007-08-23 15:59:42adminlinkissue1776581 messages
2007-08-23 15:59:42admincreate