[issue26081] Implement asyncio Future in C to improve performance

INADA Naoki report at bugs.python.org
Wed Aug 10 07:57:39 EDT 2016


INADA Naoki added the comment:

> Left a couple of comments; the important one -- Future.__await__ (and Future.__iter__) should always return a *new* instance of a generator-like object (tied to the Future object).

Implementing full behavior of generator seems difficult to me.
I'll implement minimum implementation in next patch.

----------

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


More information about the Python-bugs-list mailing list