No exception for "error: host not found"

Donn Cave donn at u.washington.edu
Wed Aug 2 12:06:44 EDT 2000


Quoth Sam Wun <swun at eSec.com.au>:
| Here is the file in the lib:
|
| line# 527 - 530 in file
| /usr/local/lib/python1.5/smtplib.py
|
| Sam Wun wrote:
|>
|> I feel this is really bad for not catching this exception in the
|> Socket library.
|> Does anyone know how to catch this error outside of the socket
|> libarary?

That file has only 527 lines, and the code at the end is only a
test function.  Could you trouble yourself to write up an example
the demonstrates the problem?

	Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list