]> granicus.if.org Git - python/commit
Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes...
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 3 Jun 2014 14:24:54 +0000 (07:24 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 3 Jun 2014 14:24:54 +0000 (07:24 -0700)
commit4ce118e99a21639ceed744ced7d35d8f0ec5f0c2
treefa6f278736007b7312df1de36e8ea760e47470a2
parent8dc3df1b6062075684b3de957cf8d4f9f5bc84de
Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.

Patch by Claudiu.Popa.
Lib/smtplib.py