[Python-ideas] Revised revised revised PEP on yield-from

Adam Olsen rhamph at gmail.com
Wed Feb 18 22:27:02 CET 2009

On Wed, Feb 18, 2009 at 12:23 PM, Greg Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> Guido van Rossum wrote:
>> I think it would be a better example than the parser example you gave
>> before. Somehow the parser example is not very convincing, perhaps
>> because it feels a bit unnatural to see a parser as a bunch of threads
>> or coroutines -- the conventional way to write (which you presented as
>> a starting point) works just fine.
> Yes, that's true. I wanted to start with something a
> bit simpler and easier to follow, though. The scheduler
> is going to be rather more convoluted.

Implementing a scheduler perhaps, but that can be omitted.  Just give
us the usage of the scheduler and how it's better than "yield

Adam Olsen, aka Rhamphoryncus

More information about the Python-ideas mailing list