Re: [Twisted-Python] Question about deferreds

2009-05-07 Thread Reza Lotun
On Thu, May 7, 2009 at 9:11 PM, Doug Farrell wrote: > This reference to the Cooperator really helped me out, I just didn’t know > what to look for in the Twisted system to do what I wanted with co-operating > state machines. I did build a little prototype using deferreds that does > provide the be

Re: [Twisted-Python] Question about deferreds

2009-05-07 Thread Doug Farrell
Glyph, Thank you very much for your response, it has provided me with material that will help me take a big step in my Twisted education. > > Deferreds are not about breaking your work up into steps to save time. > They're about breaking it up so that different systems can deal with > the

Re: [Twisted-Python] Question about deferreds

2009-05-05 Thread glyph
On 01:48 pm, dfarr...@mypublisher.com wrote: >Hi all, >I consider myself a Twisted "newbie", so this might seem like a simple >couple of questions, hope you'll indulge me. I hope a simple couple of answers will suffice. Thank you for your clearly-worded questions :). >When I first began experim

[Twisted-Python] Question about deferreds

2009-05-05 Thread Doug Farrell
Hi all, I consider myself a Twisted "newbie", so this might seem like a simple couple of questions, hope you'll indulge me. When I first began experimenting with deferreds I was breaking up tasks into sequences of steps something like this: d = Deferred() d.succeed(True) d.addCallback