Extensions to Python concerning Generators and Coroutines

Here are some proposed extensions to Python, together with prototype implementations.

Yield From

A mechanism for one generator to delegate to another.

Cofunctions

A new type of function for writing generator-based coroutines.