Re: [Twisted-Python] A pseudo-deferred class that can be canceled

2010-01-07 Thread Brian Warner
Terry Jones wrote: > After I went to bed I realized that someone is immediately going to > want to have a cancel function that returns a deferred. And what > happens if something goes wrong in a cancel function? FWIW, the way I've dealt with these sorts of things (in Tahoe, at least) has been to

Re: [Twisted-Python] Assistance with using Twisted with "pyinstaller"

2010-01-07 Thread Ken MacDonald
Thanks, I'll keep cx/bb-Freeze in mind if pyinstaller doesn't work out. I did get some tips from one of our internal guys; they had built a project successfully with Twisted & pyinstaller some time back. I'm trying to figure out the details of what went on there. Seems that they made an .py which

Re: [Twisted-Python] A pseudo-deferred class that can be canceled

2010-01-07 Thread Terry Jones
> "Glyph" == Glyph Lefkowitz writes: Glyph> This implies, to me, that the cancellation callback would be better Glyph> passed to addCallbacks(): effectively creating a third callback Glyph> chain going from invoker to responder rather than the other way Glyph> 'round as callbacks and errbacks