[Python-ideas] Cofunctions - Back to Basics

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Oct 29 00:27:28 CEST 2011


Arnaud Delobelle wrote:

> Hi,  I've taken the liberty to translate your examples using a small
> utility that I wrote some time ago and modified to mimic your proposal
> (imperfectly, of course, since this runs on unpatched python).  FWIW,
> you can see and download the resulting files here (.html files for
> viewing, .py files for downloading):
> 
>     http://www.marooned.org.uk/~arno/cofunctions/

Thanks for your efforts, although I'm not sure how much it
helps to see them this way -- the whole point is to enable
writing such code *without* going through any great
contortions. I suppose they serve as an example of what
you would be saved from writing.

-- 
Greg



More information about the Python-ideas mailing list