[Twisted-Python] Re: [Twisted-commits] Implement ReconnectingPBClientFactory, please review

Itamar Shtull-Trauring itamar at itamarst.org
Wed Oct 1 12:24:16 EDT 2003

On Wed, 01 Oct 2003 01:18:38 -0600
warner CVS <warner at wolfwood.twistedmatrix.com> wrote:

> Modified files:
> Twisted/sandbox/warner/test_pb.py None 1.1
> Twisted/sandbox/warner/pb.py None 1.1
> Log message:
> Implement ReconnectingPBClientFactory, please review

You can override failedToGetPerspective to get the error but because
it's a callback on a Deferred and returns the error it will always cause
error to get logged, which is not necessarily what you want. Maybe it
shouldn't return anything.

Or... hm. If you don't override it you do want the error logged. OK.

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting

More information about the Twisted-Python mailing list