On Wed, Feb 18, 2009 at 5:31 PM, Greg Ewing
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/)