Stefan Behnel wrote:
> you can also declare it
> "except -1" and then return -1 explicitly on signals. That will allow the
> caller to know that an error was raised without checking.

Or except? -1 (with a question mark) to check for an exception
if -1 is returned (more efficient if -1 is a rare return value).

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to