[Python-Dev] Coroutines and PEP 380

Mark Shannon mark at hotpy.org
Wed Jan 18 09:47:57 CET 2012


Matt Joiner wrote:
> Just to clarify, this differs in functionality from enhanced generators 
> by allowing you to yield from an arbitrary call depth rather than having 
> to "yield from" through a chain of calling generators? Furthermore 
> there's no syntactical change except to the bottommost frame doing a 
> co_yield? Does this capture the major differences?
> 
Yes.


More information about the Python-Dev mailing list