3 Dec
2007
3 Dec
'07
4:41 a.m.
Le dimanche 02 décembre 2007 à 11:29 -0800, Chad Austin a écrit :
If socket.error, xmlrpclib.Fault, httplib.HTTPException, etc. all extended StandardError, then we would probably be fine with that approach. But I think the majority of exceptions, both in the standard library and our code, extend Exception directly.
Ok, understood. :) To me it's a shame people don't try to make their exceptions inherit from a proper base class (be it IOError, ValueError, etc.), but anyway... cheers Antoine.