[Python-checkins] CVS: python/dist/src/Lib smtplib.py

Guido van Rossum guido@cnri.reston.va.us
Mon, 29 Mar 1999 15:33:23 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
Log Message:
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.