[issue24450] Add gi_yieldfrom calculated property to generator object

Nick Coghlan report at bugs.python.org
Fri Jun 19 07:17:46 CEST 2015


Nick Coghlan added the comment:

Marking this as dependent on issue 24400, as that refactors the PEP 492 implementation to make coroutines their own type (albeit one that shares a memory layout and some attribute names with generators at the C layer).

I'd suggest cr_await as the calculated property for coroutines that corresponds to gi_yieldfrom for generators.

----------
dependencies: +Awaitable ABC incompatible with functools.singledispatch
nosy: +ncoghlan

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


More information about the Python-bugs-list mailing list