[Python-ideas] The async API of the future: yield-from
Antoine Pitrou
solipsis at pitrou.net
Tue Oct 16 18:39:59 CEST 2012
On Tue, 16 Oct 2012 16:31:55 +0000
Steve Dower <Steve.Dower at microsoft.com> wrote:
> > I'm sure doing concurrent I/O will require an event loop, unless you use threads under the hood...
>
> Polling I/O will require some sort of loop, yes, but I/O that triggers a callback at the OS level (such as ReadFileEx and WriteFileEx on Windows) doesn't need it.
Well, how do you plan for that callback to execute Python code?
Regards
Antoine.
More information about the Python-ideas
mailing list