]> granicus.if.org Git - python/commit
bpo-32680 add default "sock" on SMTP objects (#5345)
authorRomuald Brunet <romuald@chivil.com>
Tue, 9 Oct 2018 14:31:55 +0000 (16:31 +0200)
committerGiampaolo Rodola <g.rodola@gmail.com>
Tue, 9 Oct 2018 14:31:55 +0000 (16:31 +0200)
commit7b313971805ca9b53f181f7b97e5376d0b89dc06
treeb20b1345e8991acc211fcafa2e7f8fd9f9317eb1
parent2b2758d0b30f4ed7d37319d6c18552eccbc8e7b7
bpo-32680 add default "sock" on SMTP objects (#5345)

By default the smtplib.SMTP objects did not have a sock attribute, it
was only created during connect()
Lib/smtplib.py
Lib/test/test_smtplib.py
Misc/NEWS.d/next/Library/2018-10-09-14-25-36.bpo-32680.z2FbOp.rst [new file with mode: 0644]