]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
- Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used
authorBarry Warsaw <barry@python.org>
Tue, 15 Mar 2011 19:04:44 +0000 (15:04 -0400)
committerBarry Warsaw <barry@python.org>
Tue, 15 Mar 2011 19:04:44 +0000 (15:04 -0400)
commit1f5c958721a1f9329cb23b17cf5e36548855d72f
tree04902ee636a9b629601bca831fbf1183c2db1c70
parent5eb3591a41aa7c871f99d8bc10c09fd1a4d67479
- Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used
  in a `with` statement.  Contributed by Giampaolo Rodola.
Doc/library/smtplib.rst
Lib/smtplib.py
Lib/test/test_smtplib.py
Misc/NEWS