[Python-ideas] return value of yield expressions
hetchkay at gmail.com
Tue Sep 13 15:03:50 CEST 2011
> To start with the latter, I don't think that is going to fly. All
> arguments to send must be returned as a single value by yield or cause
> most of the examples in the PEP380 discussion to fail. Allowing
> arbitrary arguments to send would have to change that value in a
> backward-incompatible way when sending a single argument.
Actually, the issue is with how the return value is gathered rather than in
send() itself, right? If the return value is specially gathered for
unpacking (as you suggested), would there be any other issue with backward
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas