← 返回首页
PEP 220 – Coroutines, Generators, Continuations | peps.python.org Following system colour scheme Selected dark colour scheme Selected light colour scheme

Python Enhancement Proposals

Toggle light / dark / auto colour theme PEP 220 – Coroutines, Generators, Continuations

PEP 220 – Coroutines, Generators, Continuations

Author: Gordon McMillan <gmcm at hypernet.com> Status: Rejected Type: Informational Created: 14-Aug-2000 Post-History:

Table of Contents

Warning

This PEP has been rejected.

×

Abstract

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.

Contents


Page Source (GitHub)

Source: https://github.com/python/peps/blob/main/peps/pep-0220.rst

Last modified: 2024-04-14 13:35:25 UTC