[Python-ideas] A Continuations Compromise in Python
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun May 3 10:26:51 CEST 2009
Carl Johnson wrote:
> I take it that there will be some
> steps taken to ensure that yield from's yield from their inner most
> yielder without having to touch base at all the objects in between
Not in my current implementation. It still makes a
nested sequence of calls to get to the innermost
iterator -- it's just that, at least in the case of
generators, they're C calls rather than Python ones,
so they're much faster. You can still blow the stack,
though.
--
Greg
More information about the Python-ideas
mailing list