Antoon Pardon wrote:
> I then took a look at http://docs.python.org/lib/module-exceptions.html
> which describes the exception heirarchy as follows:
>
> Exception
> +-- SystemExit
> +-- StopIteration
> +-- StandardError
> | +
> | + All kind of error exceptions
>
Diez B. Roggisch wrote:
> Antoon Pardon schrieb:
>> Now I was wondering if it wouldn't be better that for exception
>> that indicate some error condition that these would inherit
>> from StandardError and that this would be indicated in the
>> documentation and reflected in the stdlib?
>>
>> Would
Antoon Pardon schrieb:
> In a number of cases I have a program that looks like the following.
>
> for case in all_cases:
> try:
> treat(case)
> except Exception, ErrInfo:
> generate_traceback()
>
> The idea is to get as much information as possible when something
> goes wrong but at t