By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,526 Members | 1,618 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,526 IT Pros & Developers. It's quick & easy.

Re: example for PEP 342

P: n/a
Severin wrote:
Hello,

Is there a simple example demonstrating how to use the Trampoline from
PEP 342 (http://www.python.org/dev/peps/pep-0342/)?
In the examples section toward the end
3. A simple co-routine scheduler or "trampoline" that lets
coroutines "call" other coroutines by yielding the coroutine
they wish to invoke. ...

I did not read if yet to see if it can be further simplified.

Oct 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.