I guess this changes my question to: Can I convert a function containing an infinite loop, into a generator which will yield on each iteration?
Why don't you just use threads? It would probably be easier in the long run...
-- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list