diff options
author | Guido van Rossum <guido@python.org> | 1999-03-29 20:33:21 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-29 20:33:21 +0000 |
commit | f123f84f66bded5a5554f7130cf823d53d3304cd (patch) | |
tree | fa6b7707fc3420d7515837de4f5685471ca61b66 /Python/modsupport.c | |
parent | 9065ea36deb5812654c1959413a92cfb18ad3b5a (diff) | |
download | cpython-git-f123f84f66bded5a5554f7130cf823d53d3304cd.tar.gz |
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.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions