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

STINNER Victor report at bugs.python.org
Sat Aug 1 12:10:24 CEST 2015


STINNER Victor added the comment:

I'm not sure that it's a good idea to start adding special cases in Task
class which is already very complex.

Instead we may add a way to register custom awaitable objects?

----------

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


More information about the Python-bugs-list mailing list