[Python-ideas] The async API of the future: yield-from
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Oct 17 12:38:41 CEST 2012
Guido van Rossum wrote:
> On Tue, Oct 16, 2012 at 2:14 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>
>>The important idea is that just because you spawn a task, it
>>doesn't necessarily follow that you want to be regarded as the
>>*parent* of that task and receive its exceptions.
>
> Maybe. But the opposite doesn't follow either. It's a toss-up between
> the spawner and the waiter.
So maybe spawn() should have an option indicating that the
spawning task is to receive exceptions occuring in the
spawned task.
--
Greg
More information about the Python-ideas
mailing list