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.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to