[issue24383] consider implementing __await__ on concurrent.futures.Future
Stefan Behnel
report at bugs.python.org
Sat Jun 6 11:33:34 CEST 2015
Stefan Behnel added the comment:
(Copying my review comment here so that it doesn't get lost as it's more of a general design thing than a specific review comment.)
Having Future know and deal with asyncio seems wrong to me. asyncio should be able to deal *somehow* with a Future that is being awaited, but a Future shouldn't require asyncio in order to be awaited.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24383>
_______________________________________
More information about the Python-bugs-list
mailing list