Steven D'Aprano schrieb am Do, 27. Okt 2011, um 23:19:31 +1100:
Is there any prior art in other languages? I have googled on "cofunction", and I get many, many hits to the concept from mathematics (e.g. sine and cosine) but virtually nothing in programming circles. Apart from this PEP, I don't see any sign of prior art, or that cofunction is anything but your own term. If there is prior art, you should describe it, and if not, you should say so.
The usual term in programming is "coroutine" rather than "cofunction":