[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax
Stefan Behnel
report at bugs.python.org
Sun Apr 26 17:11:00 CEST 2015
Stefan Behnel added the comment:
Could we have type slots for the new special methods? Otherwise, implementing the protocol in C would be fairly inefficient, especially for async iteration.
I'm asking because Cython's generator type is not Python's generator type, but implementing the rest of the proposed protocol doesn't seem to be all that difficult.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24017>
_______________________________________
More information about the Python-bugs-list
mailing list