[Python-ideas] Async API
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Oct 25 23:30:07 CEST 2012
Steve Dower wrote:
> The type of the error is irrelevant - if something_else() might raise an
> exception that is expected, it won't be passed in because the scheduler is
> suppressing exceptions inside finally blocks. Or perhaps I've misunderstood the
> point of gi_in_finally?
IIUC, it's only *asynchronous* exceptions that would be blocked --
i.e. ones thrown in from a different task, or arising from an
external event such as a timeout. An exception raised explicity
by the task's own code would be unaffected.
--
Greg
More information about the Python-ideas
mailing list