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 pitrou
Recipients asdfasdfasdfasdfasdfasdfasdf, giampaolo.rodola, janssen, kasun, pitrou, r.david.murray, terry.reedy, thomas.scrace
Date 2011-04-20.20:52:32
SpamBayes Score 9.75113e-07
Marked as misclassified No
Message-id <>
Thanks for the patch. A couple of comments:
- it would be nice to have some tests, but of course there are no tests for SMTP_SSL currently. If you are motivated, perhaps you could investigate into adding some.
- there are some tab characters in your patch. Please only use spaces for indentation (see PEP 8 if you have any doubts); make sure your editor is configured for that :)
- starttls() should probably get a context parameter too. You can take a look at imaplib for an example.
- you need to update the API docs in Doc/library/smtplib.rst

I don't think an example of using a context is necessary. By using proper ReST markup a link will be generated to the SSLContext documentation, and that's probably enough for people to understand.
Date User Action Args
2011-04-20 20:52:37pitrousetrecipients: + pitrou, terry.reedy, janssen, giampaolo.rodola, r.david.murray, asdfasdfasdfasdfasdfasdfasdf, thomas.scrace, kasun
2011-04-20 20:52:37pitrousetmessageid: <>
2011-04-20 20:52:32pitroulinkissue8809 messages
2011-04-20 20:52:32pitroucreate