cab...@gmail.com wrote:

> Ah, looks better.
> 
> But, 2 questions:
> 
> 1. I should also catch ConnectionResetError I am guessing.

Does it need a special reaction? If so give it its own except suite.

> 2. How do I handle all other exceptions, just say Exception: and handle
> them? I want to silently ignore them.

If at all I would do that in the client code. Also, catch Exception rather 
than BaseException.



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to