Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-31 Thread Glyph
On Jul 31, 2013, at 10:08 AM, Jorge Gonzalez wrote: > I found the root cause, and it has nothing to do with Deferreds nor > DeferredLists. It was something else in my code unrelated to twisted. As is often the case :). This is why we ask for complete examples. Just because you see Twisted fr

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-31 Thread Jorge Gonzalez
I found the root cause, and it has nothing to do with Deferreds nor DeferredLists. It was something else in my code unrelated to twisted. Thanks! Jorge On Tue, Jul 30, 2013 at 3:40 PM, Jorge Gonzalez wrote: > Thanks Glyph. > I actually am not able to reduce the behavior to a simpler runnable >

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-30 Thread Jorge Gonzalez
Thanks Glyph. I actually am not able to reduce the behavior to a simpler runnable example yet, and that's why I tried running my theory first through this list. I did try a simple example just instantiating some Deferreds, firing them and gathering their results into a DeferredList (no reactor invo

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-29 Thread Glyph
On Jul 29, 2013, at 1:29 PM, Jorge Gonzalez wrote: > Wouldn't it be possible that defer.gatherResults inserts its callback into d > before say slowFuncReturningDeferred_B gets to run and return its own > Deferred (and therefore chain it to what gatherRestults is ultimately waiting > for?). If