[Python-ideas] An async facade? (was Re: [Python-Dev] Socket timeout and completion based sockets)
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Nov 30 23:37:42 CET 2012
Guido van Rossum wrote:
> Futures or callbacks, that's the question...
>
> Richard and I have even been considering APIs like this:
>
> res = obj.some_call(<args>)
> if isinstance(res, Future):
> res = yield res
I thought you had decided against the idea of yielding
futures?
--
Greg
More information about the Python-ideas
mailing list