[Twisted-Python] Raising exception from a Deferred canceller.

Terry Jones terry at jon.es
Thu Aug 29 13:29:09 MDT 2013

JP writes:

On Thu, Aug 29, 2013 at 1:00 PM, <exarkun at twistedmatrix.com> wrote:

> What about a third option - if a cancellation function raises an
> exception, fail the Deferred with that exception.

I really like this idea, but it wont work if the cancel function has
already fired the deferred.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130829/070cab77/attachment.html>

More information about the Twisted-Python mailing list