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

2010-01-06 Thread Terry Jones
Hi Glyph It's very late here, so I'll limit myself to a few thousand lines of reply. > "Glyph" == Glyph Lefkowitz writes: Glyph> On Jan 6, 2010, at 7:09 AM, Terry Jones wrote: Glyph> What I mean is, there are a lot of weird little edge-cases in how Glyph> multiple layers of the stack intera

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

2010-01-06 Thread Glyph Lefkowitz
On Jan 6, 2010, at 9:46 AM, sstein...@gmail.com wrote: > As far as I know, in my limited spelunking into Twisted's guts, Deferred's > pretty much only know about themselves and their callbacks so I'm not sure > whether there's a "ringmaster" that knows any more than that that could make > sure

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

2010-01-06 Thread Glyph Lefkowitz
On Jan 6, 2010, at 7:09 AM, Terry Jones wrote: >> "Glyph" == Glyph Lefkowitz writes: > Glyph> On Jan 5, 2010, at 4:53 PM, Terry Jones wrote: > > Glyph> I understand what you're saying: you're interested in a subset of > Glyph> what I'm interested in, here. > > Yes. > Glyph> I think that c

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

2010-01-06 Thread sstein...@gmail.com
On Jan 6, 2010, at 5:23 AM, Glyph Lefkowitz wrote: > I know what the use-cases are for stopping the underlying operation > (notifying the peer that you're not going to accept it, reclaiming the > resources); but if you're just going to let the operation complete eventually > anyway, why wouldn

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

2010-01-06 Thread Terry Jones
> "Glyph" == Glyph Lefkowitz writes: Glyph> On Jan 5, 2010, at 4:53 PM, Terry Jones wrote: Glyph> I understand what you're saying: you're interested in a subset of Glyph> what I'm interested in, here. Yes. Glyph> The point I'm trying to make is that once you've gone to the trouble Glyph> of

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

2010-01-06 Thread Glyph Lefkowitz
On Jan 5, 2010, at 4:53 PM, Terry Jones wrote: > I'm not sure if it's yet clear that I'm not trying *at all* to address > somehow stopping operations that are in progress. On the contrary, my code > always lets them run to their natural conclusion. It's just that if the > caller decides they're n

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

2010-01-06 Thread Paul Thomas
On 5 Jan 2010, at 20:48, Ken MacDonald wrote: > Hi, we're trying to using pyinstaller to create single-directory > distributions of our Twisted/python server on Linux. Wondering if > anyone has accomplished this? I googled and checked the archives, > but there seems to be no concrete inform