On 07/18/2012 01:31 PM, Russell E. Owen wrote:
> If there is a "best practices for error handling" document I'd love to
> read it. I found an overview of deferreds that was helpful. It pointed
> out that addCallbacks is not the same as addCallback followed by
> addErrback and I'm not sure I'm handl
If you haven't seen it already, Dave Peticolas has a great introduction to
twisted (it's a bit long, but well worth it) at
http://krondo.com/?page_id=1327. In particular, until I saw this graphic on
callback/errback chaining (
http://krondo.com/blog/wp-content/uploads/2009/10/deferred-2.png), I nev
In article ,
Glyph wrote:
> On Jul 17, 2012, at 9:25 AM, Russell E. Owen wrote:
>
> >> Can you elaborate on the case?
> >
> > I've found that Twisted sometimes swallows errors unless I am extremely
> > careful. I would like to be able to check a protocol to make sure it is
> > operational (
On 04:25 pm, ro...@uw.edu wrote:
>In article
>,
>Laurens Van Houtven <_...@lvh.cc> wrote:
>>On Thursday, July 12, 2012, Russell E. Owen wrote:
>>
>> > I'm adding Twisted support to some existing communication code and I
>> > have a few questions which I hope are simple. I've been reading the
>>API
On Jul 17, 2012, at 9:25 AM, Russell E. Owen wrote:
>> Can you elaborate on the case?
>
> I've found that Twisted sometimes swallows errors unless I am extremely
> careful. I would like to be able to check a protocol to make sure it is
> operational (connected and happy) as a means of assurin
In article
,
Laurens Van Houtven <_...@lvh.cc> wrote:
> On Thursday, July 12, 2012, Russell E. Owen wrote:
>
> > I'm adding Twisted support to some existing communication code and I
> > have a few questions which I hope are simple. I've been reading the API
> > documentation, but if the answers
On 04:02 pm, _...@lvh.cc wrote:
>On Thursday, July 12, 2012, Russell E. Owen wrote:
>>I'm adding Twisted support to some existing communication code and I
>>have a few questions which I hope are simple. I've been reading the
>>API
>>documentation, but if the answers are there I'm missing them.
>>
On Thursday, July 12, 2012, Russell E. Owen wrote:
> I'm adding Twisted support to some existing communication code and I
> have a few questions which I hope are simple. I've been reading the API
> documentation, but if the answers are there I'm missing them.
>
> What happens if one tries to write
I'm adding Twisted support to some existing communication code and I
have a few questions which I hope are simple. I've been reading the API
documentation, but if the answers are there I'm missing them.
What happens if one tries to write to a protocol.transport that is not
connected or in an er