[Twisted-Python] how to write a safe catch-all
Chris Withers
chris at simplistix.co.uk
Wed Sep 29 16:27:53 EDT 2010
On 29/09/2010 18:31, exarkun at twistedmatrix.com wrote:
> Then you're talking about an API in Twisted which returns a Deferred
> that sometimes doesn't errback when the implementation encounters an
> error.
>
> Also, `failIfNotConnected` should never raise an exception.
>
> These sound like bugs.
>
> File a couple tickets. With a unit tests please. :)
That's one side of things, sure, but how can I write a scheduler which
handles the current situation?
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Twisted-Python
mailing list