Turning f(callback) into a generator

Alan Kennedy alanmk at hotmail.com
Fri Dec 5 18:11:45 CET 2003

[Peter Otten]
> So far, no one has come up with a solution that avoids threads - short of
> Bengt Richter's ideas on changing the language that is.

Sorry I'm late into this thread.

Peter, you may find the following message from Stephen Taschuk
interesting. It is an approach to the producer/consumer problem,
through the use of coroutines. Only the bottom half of his post will
be of interest. The top half relates to another question I was asking
him at the time.


I think it might be something closer to what you're looking for.


alan kennedy
check http headers here: http://xhaus.com/headers
email alan:              http://xhaus.com/contact/alan

More information about the Python-list mailing list