Popular recipes by profjim http://code.activestate.com/recipes/users/4169991/2009-04-29T09:11:31-07:00ActiveState Code RecipesPure Python implementation of PEP 380 (yield from) (Python) 2009-04-25T09:03:42-07:00profjimhttp://code.activestate.com/recipes/users/4169991/http://code.activestate.com/recipes/576727-pure-python-implementation-of-pep-380-yield-from/ <p style="color: grey"> Python recipe 576727 by <a href="/recipes/users/4169991/">profjim</a> (<a href="/recipes/tags/decorator/">decorator</a>, <a href="/recipes/tags/generators/">generators</a>). Revision 7. </p> <p>Decorator-based implementation of PEP 380 (yield from). This is the simple version (no special handling of nested "yield _from"s).</p> Pure Python implementation of PEP 380 (yield from) -- Optimized (Python) 2009-04-29T09:11:31-07:00profjimhttp://code.activestate.com/recipes/users/4169991/http://code.activestate.com/recipes/576728-pure-python-implementation-of-pep-380-yield-from-o/ <p style="color: grey"> Python recipe 576728 by <a href="/recipes/users/4169991/">profjim</a> (<a href="/recipes/tags/decorator/">decorator</a>, <a href="/recipes/tags/generators/">generators</a>). Revision 6. </p> <p>Decorator-based implementation of PEP 380 (yield from). This is the optimized version (special handling of nested "yield _from"s).</p>