commit | 17bfef5860493a0195c999ab44d4c849660cac30 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Wed Nov 08 22:19:47 2000 +0000 |
committer | Barry Warsaw <barry@python.org> | Wed Nov 08 22:19:47 2000 +0000 |
tree | 8a806c788ebb86dec1b52b2bda76410a8a99d424 | |
parent | 8a41d20b05600244e344bdacddcb191625062861 [diff] |
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.