Generating exceptions from C
jacob.kroon at gmail.com
Sat Mar 18 16:28:37 CET 2006
>>Does the comments above make sense?
>Not quite: when raising an exception, an instance of the exception class
>_is_ created. Just like this:
> raise SomeException(msg)
>With the old (deprecated) spelling the instantiation is done implicitly:
> raise SomeException, msg
Ah ok, so it is created, automatically, but I guess I never have to
handle the instance in the C code.
More information about the Python-list