Message275297
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. |
|
Date |
User |
Action |
Args |
2016-09-09 09:51:43 | gigaplastik | set | recipients:
+ gigaplastik, barry, christian.heimes, r.david.murray, SilentGhost, labrat |
2016-09-09 09:51:43 | gigaplastik | set | messageid: <1473414703.35.0.416053700697.issue25852@psf.upfronthosting.co.za> |
2016-09-09 09:51:43 | gigaplastik | link | issue25852 messages |
2016-09-09 09:51:43 | gigaplastik | create | |
|