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 gigaplastik
Recipients SilentGhost, barry, christian.heimes, gigaplastik, labrat, r.david.murray
Date 2016-09-09.09:51:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473414703.35.0.416053700697.issue25852@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the updated (3.6.0a4+) patch for the issue with the unit test included.

My unit test only checks for this issue particular artifacts, it does not test that .starttls actually works. This is because the current test suite for smtplib (Lib/test/test_smtplib.py) does not implement SSL/TLS functionality neither in its "debugging server", nor in its "simulated server" and implementing it on my own is beyond my expertise. Nevertheless, the provided unit test does guarantee .starttls wouldn't break because of the empty ._host attribute.
The overall Python test suite also runs successfully with these patches applied.
History
Date User Action Args
2016-09-09 09:51:43gigaplastiksetrecipients: + gigaplastik, barry, christian.heimes, r.david.murray, SilentGhost, labrat
2016-09-09 09:51:43gigaplastiksetmessageid: <1473414703.35.0.416053700697.issue25852@psf.upfronthosting.co.za>
2016-09-09 09:51:43gigaplastiklinkissue25852 messages
2016-09-09 09:51:43gigaplastikcreate