[Twisted-Python] Deferreds and Tasklets

Christopher Armstrong radix at twistedmatrix.com
Sun Apr 6 11:16:51 MDT 2008


On Sun, Apr 6, 2008 at 12:42 PM, Simon Pickles <sipickles at hotmail.com> wrote:
> So I am still fiddling with interesting ways to combine stackless and
> twisted. Its fun, but I am probably naively hacking! (I always seem to want
> to use the deprecated code!- probably says a lot about me?)

I've solved some of these problems in Corotwine, which uses Greenlet.
You may want to take a look at least to see how it can be done.
Specifically relating to Deferreds, corotwine.defer will probably be
helpful.

http://launchpad.net/corotwine/

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/




More information about the Twisted-Python mailing list