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.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to