]> granicus.if.org Git - python/commit
SMTP.connect(): If the socket.connect() raises a socket.error, be sure
authorBarry Warsaw <barry@python.org>
Wed, 8 Nov 2000 22:19:47 +0000 (22:19 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 8 Nov 2000 22:19:47 +0000 (22:19 +0000)
commit17bfef5860493a0195c999ab44d4c849660cac30
tree8a806c788ebb86dec1b52b2bda76410a8a99d424
parent8a41d20b05600244e344bdacddcb191625062861
SMTP.connect(): If the socket.connect() raises a socket.error, be sure
to call self.close() to reclaim some file descriptors, the reraise the
exception.  Closes SF patch #102185 and SF bug #119833.
Lib/smtplib.py