Ian Bicking: the old part of his blog

Comment

Turning the calculation inside out can often be accomplished by generators. Placing yields throughout your calculation code gives you a simple way to cut a procedure into separate steps, and the generator's .next makes a pretty good callback.
Comment on Twisted and Threads
by Scott