[Twisted-Python] deferred graph?
Dan Stromberg
drsalists at gmail.com
Tue Jul 17 22:24:21 EDT 2012
On Tue, Jul 17, 2012 at 12:53 PM, <exarkun at twistedmatrix.com> wrote:
> On 03:40 pm, drsalists at gmail.com wrote:
> >>
> >>Strangely, this doesn't give the report until after the sleep
> >>finishes... ?
>
> What's strange about that? "time.sleep(10)" doesn't mean "immediately
> print out debug information".
>
Well, if you read the whole thread, I believe you'll see that this was
intended to print some debugging information without needing to wait for
the process to terminate.
>
> >However, it always appears to print the debug tracebacks for the
> >deferred
> >named - in this case, d. It doesn't appear to be selecting the correct
> >deferred(s) to print.
>
>
> All it does is print the debug information for the Deferred you got the
> _debugInfo attribute from.
Um, yes, I was kind of saying that. Sadly though, this renders it
ineffective for the purpose it was suggested for.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120717/606aaaa1/attachment.htm
More information about the Twisted-Python
mailing list