[Twisted-Python] Re: [Twisted-commits] r13213 - Connection timeouts raise _error.TimeoutError_, not defer.TimeoutError.

Itamar Shtull-Trauring itamar at itamarst.org
Thu Mar 17 09:52:06 MST 2005


On Thu, 2005-03-17 at 07:42 -0700, Jp Calderone wrote:

>              self.connector = connector
> -            if not reason.check(error.UserError) or reason.check(defer.TimeoutError):
> +            if not reason.check(error.UserError) or reason.check(error.TimeoutError):
>                  self.retry()

Maybe we should just drop the UserError thing? It's causing way too many
bugs. Also, why are error.TimeoutError and defer.TimeoutError different?





More information about the Twisted-Python mailing list