[Python-ideas] Possible PEP 380 tweak

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Oct 29 06:35:20 CEST 2010

On 29/10/10 15:21, Guido van Rossum wrote:

>   value ... value EndSum value ... value EndSum value ... value
> *EndSum* GeneratorExit

Seems to me that anything requiring asking for intermediate values
while not stopping the computation entirely is going beyond what
can reasonably be supported with a generator. I wouldn't like to
see yield-from and/or the generator protocol made any more
complicated in order to allow such things.


More information about the Python-ideas mailing list