[Twisted-Python] Re: LoopingCall question
itamar at itamarst.org
Sat Jun 28 12:13:52 EDT 2008
> Itamar Shtull-Trauring wrote:
>> def _gotResult(self, r):
>> if r:
>> d = self.result
>> del self.result
> What am I missing that stops the above line from raising AttributeError?
That was a typo, thanks for pointing it out. Should be d.callback().
(Deferreds should be derefernced once callbacked or errbacked, since
unhandled errors will only get logged on GC.)
More information about the Twisted-Python