A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-December/075518.html below:

[Python-Dev] Problems with GeneratorExit deriving from Exception

[Python-Dev] Problems with GeneratorExit deriving from ExceptionAntoine Pitrou solipsis at pitrou.net
Sun Dec 2 21:41:43 CET 2007
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.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4