summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRomuald Brunet <romuald@chivil.com>2018-10-09 14:31:55 (GMT)
committerGiampaolo Rodola <g.rodola@gmail.com>2018-10-09 14:31:55 (GMT)
commit7b313971805ca9b53f181f7b97e5376d0b89dc06 (patch)
treeb20b1345e8991acc211fcafa2e7f8fd9f9317eb1 /Misc
parent2b2758d0b30f4ed7d37319d6c18552eccbc8e7b7 (diff)
downloadcpython-7b313971805ca9b53f181f7b97e5376d0b89dc06.zip
cpython-7b313971805ca9b53f181f7b97e5376d0b89dc06.tar.gz
cpython-7b313971805ca9b53f181f7b97e5376d0b89dc06.tar.bz2
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()
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-09-14-25-36.bpo-32680.z2FbOp.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-09-14-25-36.bpo-32680.z2FbOp.rst b/Misc/NEWS.d/next/Library/2018-10-09-14-25-36.bpo-32680.z2FbOp.rst
new file mode 100644
index 0000000..afe16b6
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-09-14-25-36.bpo-32680.z2FbOp.rst
@@ -0,0 +1 @@
+:class:`smtplib.SMTP` objects now always have a `sock` attribute present