[issue24383] consider implementing __await__ on concurrent.futures.Future

Alex Grönholm report at bugs.python.org
Sun Aug 2 16:29:12 CEST 2015


Alex Grönholm added the comment:

Ah hehe, I forgot to actually attach the patch. Thanks Yury.

The asyncio docs need to explicitly mention that concurrent.futures.Futures can be directly awaited from coroutines. Aside from that, I think we're set -- just need Guido to chime in on this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24383>
_______________________________________


More information about the Python-bugs-list mailing list