diff options
| author | Guido van Rossum <guido@python.org> | 1999-03-29 20:33:21 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1999-03-29 20:33:21 (GMT) |
| commit | f123f84f66bded5a5554f7130cf823d53d3304cd (patch) | |
| tree | fa6b7707fc3420d7515837de4f5685471ca61b66 /Lib/gzip.py | |
| parent | 9065ea36deb5812654c1959413a92cfb18ad3b5a (diff) | |
| download | cpython-f123f84f66bded5a5554f7130cf823d53d3304cd.zip cpython-f123f84f66bded5a5554f7130cf823d53d3304cd.tar.gz cpython-f123f84f66bded5a5554f7130cf823d53d3304cd.tar.bz2 | |
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 'Lib/gzip.py')
0 files changed, 0 insertions, 0 deletions
