Notice: While Javascript is not essential for this website, your interaction with the content will be limited. Please turn Javascript on for the full experience.

PEP 220 -- Coroutines, Generators, Continuations

PEP: 220
Title: Coroutines, Generators, Continuations
Author: gmcm at (Gordon McMillan)
Status: Rejected
Type: Informational
Created: 14-Aug-2000



Demonstrates why the changes described in the stackless PEP are desirable. A low-level continuations module exists. With it, coroutines and generators and "green" threads can be written. A higher level module that makes coroutines and generators easy to create is desirable (and being worked on). The focus of this PEP is on showing how coroutines, generators, and green threads can simplify common programming problems.