Beazley on Generators

Kay Schluehr kay.schluehr at gmx.net
Wed Apr 1 10:33:37 EDT 2009


On 1 Apr., 07:03, Terry Reedy <tjre... at udel.edu> wrote:
> At PyCon2008, David Beazley presented an excellent talk on generators.
> Generator Tricks for Systems Programmershttp://www.dabeaz.com/generators/index.html
>
> At PyCon2009, he followed up with another talk on more advanced
> generator usage, which Guido commended on the python-ideas list:
> A Curious Course on Coroutines and Concurrencyhttp://dabeaz.com/coroutines/
>
> I have just started (this one will take more than one sitting ;-) but it
> looks just as good.
>
> tjr

There is just one thing I find disappointing. Since the talk is almost
a compendium of advanced uses of generators I'm missing a reference to
Peter Thatchers implementation of monads:

http://www.valuedlessons.com/2008/01/monads-in-python-with-nice-syntax.html

Peters implementation can be simplified but it already contains all
relevant ideas.



More information about the Python-list mailing list