[New-bugs-announce] [issue24450] Add gi_yieldfrom calculated property to generator object

Benno Leslie report at bugs.python.org
Sun Jun 14 12:29:47 CEST 2015


New submission from Benno Leslie:

When a co-routine has delegated computation to another co-routine via "yield from", it is useful to be able to access the delegated-to co-routine.

This proposed enhancement would add a new calculated property to the generator object called "gi_yieldfrom", which returns the delegated-to co-routine (or None).

----------
components: Interpreter Core
messages: 245338
nosy: bennoleslie
priority: normal
severity: normal
status: open
title: Add gi_yieldfrom calculated property to generator object
type: enhancement
versions: Python 3.5

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


More information about the New-bugs-announce mailing list