[Python-Dev] yield * (Re: Missing operator.call) (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 8 02:00:47 CET 2009


Guido van Rossum wrote:

We already have yield expressions and they mean something else...

They don't have a "*" in them, though, and I don't think the existing meaning of yield as an expression would carry over into the "yield *" variant, so there shouldn't be any conflict.

But if you think there will be a conflict, or that the similarity would be too confusing, maybe the new construct should be called something else. I'm open to suggestions.

-- Greg



More information about the Python-Dev mailing list