[Python-ideas] The async API of the future: yield-from

Guido van Rossum guido at python.org
Tue Oct 16 23:31:00 CEST 2012


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. That only
> becomes clear when you wait() for it.

Maybe. But the opposite doesn't follow either. It's a toss-up between
the spawner and the waiter.

-- 
--Guido van Rossum (python.org/~guido)



More information about the Python-ideas mailing list