Retrying on Connection Reset?

Well this part is not needed, first of all.

Well this part is not needed, first of all. Except Exception as e: raise And the arguments of the IOError is the type of error (socket error) and the error given to it. This error, in turn, is not the original error, but that error is in the args, so... except IOError as e: if e.

Args1. Args0. Errno!

= errno. ECONNRESET: raise Should work. I don't have a server that will reset on me, so I can't test it 100% But it works with ECONNREFUSED.

:-).

Thank you. Good catch on Exception. – Alexandru Jan 7 at 12:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions