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

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


JP writes:

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

> Keep in mind that the Deferred cancellation API is a "best effort" API.
> There are no guarantees that anything can be cancelled.  Consider the fact
> that 90% or more of Deferreds out there don't even have cancellation
> implemented for them yet and that before Deferred cancellation was
> introduced, 100% of Deferreds were uncancellable. :)


I think this is (unintentionally) misleading. Although 90% (or more) of
deferreds don't have an explicit custom cancelation function, 100% of
deferreds can now be canceled.

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


More information about the Twisted-Python mailing list