[Python-ideas] async: feedback on EventLoop API

Jasper St. Pierre jstpierre at mecheye.net
Fri Dec 21 16:57:06 CET 2012


On Fri, Dec 21, 2012 at 10:45 AM, Guido van Rossum <guido at python.org> wrote:
... snip ... (gmail messed up parsing this, apparently)

Aha, that cleared it up, thanks. wait_one_async() takes an iterable of
tasks, and returns a Future that will fire when a Future completes,
containing that Future.

I can't think of anything *wrong* with that, except that if anything, 1) it
feels like a bit of an abuse to use Futures this way, 2) it feels a bit
low-level.

-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121221/bf1135d7/attachment.html>


More information about the Python-ideas mailing list