ConnectionError handling problem

shiva upreti katewinslet626 at gmail.com
Fri Sep 25 05:57:00 CEST 2015


Thank you Cameron.
I think the problem with my code is that it just hangs without raising any exceptions. And as mentioned by Laura above that when I press CTRL+C, it just catches that exception and prints ConnectionError which is definitely a lie in this case as you mentioned.
As my code doesnt raise any exception by itself, instead just hangs, I wont be able to characterize the exceptions and handle them individually.


More information about the Python-list mailing list