[socal-piggies] Generators as coroutines

Daniel Arbuckle djarb at highenergymagic.org
Thu Mar 15 22:37:52 PDT 2007


Several of you expressed an interest in seeing my
generators-as-coroutines scheduler, so here it is, in the attached
coroutine.py. The other attached files are dependencies that you'll
need if you want to actually run the code.

Apologies in advance for the poor state of structures.py and
iterators.py ... I've been meaning to clean the library that all three
of these files are part of up for public release for a while, but I
haven't yet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coroutine.py
Type: text/x-sourcecode
Size: 19079 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/socal-piggies/attachments/20070315/5643cf51/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: structures.py
Type: text/x-sourcecode
Size: 23365 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/socal-piggies/attachments/20070315/5643cf51/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iterators.py
Type: text/x-sourcecode
Size: 11543 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/socal-piggies/attachments/20070315/5643cf51/attachment-0002.bin>


More information about the socal-piggies mailing list