commit | f123f84f66bded5a5554f7130cf823d53d3304cd | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Mar 29 20:33:21 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Mar 29 20:33:21 1999 +0000 |
tree | fa6b7707fc3420d7515837de4f5685471ca61b66 | |
parent | 9065ea36deb5812654c1959413a92cfb18ad3b5a [diff] |
Patch by Per Cederqvist, who writes: """ - It needlessly used the makefile() method for each response that is read from the SMTP server. - If the remote SMTP server closes the connection unexpectedly the code raised an IndexError. It now raises an SMTPServerDisconnected exception instead. - The code now checks that all lines in a multiline response actually contains an error code. """ The Dragon approves.