On Thu, Jul 7, 2011 at 10:44 AM, Tristan Seligmann <[email protected]>wrote:
> On Thu, Jul 7, 2011 at 9:31 AM, John Aherne <[email protected]> wrote: > > The fact that _canceller_WAITING is not called makes me think I am making > > the wrong call on the request deferred when I use d._canceller(), but I > have > > not seen anything else I can call. > > I'll admit to not knowing exactly what you're doing, but shouldn't you > be calling d.cancel() not d._canceller() ? > You are correct of course. I started off using cancel() but was getting already called errors. So I started looking around to see what was going on and tried to trace through the various functions being called. That's how I ended up playing around with _canceller. What I did not do was find out what was really causing the already called errors. Which now you have prompted me I have sorted out. Typically something silly - like overriding the callLater functions. So sorry for all the noise over _canceller. Thanks John Aherne
_______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
