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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24450>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to