Python generators (coroutines)

Michele Simionato michele.simionato at gmail.com
Wed Apr 23 15:12:34 EDT 2008


On Apr 23, 8:26 pm, Jean-Paul Calderone <exar... at divmod.com> wrote:
> On Wed, 23 Apr 2008 10:53:03 -0700 (PDT), Michele Simionato:
> You could have #2.  It's a trivial variation of sending a value.  For
> example,
>
> http://twistedmatrix.com/trac/browser/trunk/twisted/internet/defer.py...
>
> Jean-Paul

Yep, I stand corrected, it is only #1 which is the real
improvement.



More information about the Python-list mailing list