[Twisted-Python] unhandled exception in deferred has a delayed logging ?

Glyph glyph at twistedmatrix.com
Fri Sep 28 13:29:47 EDT 2012


Le Sep 28, 2012 à 10:16 AM, exarkun at twistedmatrix.com a écrit :

> On 27 Sep, 11:15 am, p.mayers at imperial.ac.uk wrote:
>> On 27/09/12 03:47, Jonathan Vanasco wrote:
>>> thanks so much for the quick response, and i wish i thought of
>>> looking in the FAQ ( just searched online, and nothing relevant came
>>> up )
>>> 
>>> Will defer.setDebugging(True) make these errors print/log sooner ?
>> 
>> I don't think so. I think you'll just get more info in the error.
>> 
>> You could using a "loopingcall" to call gc.collect() periodically but
> 
> Please, no one ever do this.

In the spirit of socratic inquiry, why not?

-glyph


More information about the Twisted-Python mailing list