Regarding exception handling

Aggelos I. Orfanakos aorfanakos at
Sun Jan 30 21:53:21 EST 2005

I need it because the "various code" may raise other exceptions (not
related to sockets). In such case, the "except socket.error, x:" won't
catch it, but thanks to the "finally:", it is sure that the socket will

More information about the Python-list mailing list