[Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

Itamar Turner-Trauring itamar at futurefoundries.com
Tue Jun 18 07:37:59 MDT 2013


By way of background, Kai Zhang is one of our GSoC interns, working on
adding Deferred cancellation support to Twisted. I believe the specific
module he is working on is the POP3 client, but it's a general question -
should we try to keep CancelledError percolating all the way to the top of
callback chain when possible? My first thought is "yes" since that's a more
informative reason, but maybe someone else has a counter-argument.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130618/50a00c9f/attachment.html>


More information about the Twisted-Python mailing list