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

Guido van Rossum guido at python.org
Thu Feb 19 05:34:51 CET 2009


On Wed, Feb 18, 2009 at 5:31 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Adam Olsen wrote:
>
>> Implementing a scheduler perhaps, but that can be omitted.  Just give
>> us the usage of the scheduler and how it's better than "yield
>> Return(val)".
>
> That's not really going to reveal much more than
> what you've seen in the previous example.
>
> I've started working on the scheduler, and it's
> actually turning out to be fairly simple. Including
> the implementation isn't going to make the example
> much longer, and I think it will be instructive.
>
> I'll explain what's going on at each step, so it
> won't be a code dump.

I'm eagerly looking forward to it. We should get some Twisted folks to buy in.

After that, I really encourage you to start working on a reference
implementation.

(Oh, and please send your PEP to the PEP editors. See PEP 1 for how to
format it, where to send it, etc.)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-ideas mailing list