Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-29 Thread Glyph Lefkowitz
Wish I'd noticed yours first - thanks for filing it! But yeah, I think my description was a bit more descriptive. On Sep 30, 2011, at 12:22 AM, David Kao wrote: > OK I marked mine as duplicate. I think yours seem like a better > description anyways. > > David Kao > > > > On Fri, Sep 30, 201

Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-29 Thread David Kao
OK I marked mine as duplicate. I think yours seem like a better description anyways. David Kao On Fri, Sep 30, 2011 at 12:05 PM, David Kao wrote: > My bad. I filed > > http://twistedmatrix.com/trac/ticket/5274 > > You can close either. > > David Kao > > > > On Fri, Sep 30, 2011 at 11:52 AM, Gl

Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-29 Thread David Kao
My bad. I filed http://twistedmatrix.com/trac/ticket/5274 You can close either. David Kao On Fri, Sep 30, 2011 at 11:52 AM, Glyph Lefkowitz wrote: > > On Sep 26, 2011, at 9:27 AM, exar...@twistedmatrix.com wrote: > > This strikes me as a bug.  Can you file a new ticket for this? > > Since we

Re: [Twisted-Python] [Twisted] #5272: In the core doc, do not call reactor.stop directly in processEnded

2011-09-29 Thread Glyph Lefkowitz
On Sep 26, 2011, at 9:27 AM, exar...@twistedmatrix.com wrote: > This strikes me as a bug. Can you file a new ticket for this? Since we didn't hear back about this, I filed . ___ Twisted-Python mailing list

Re: [Twisted-Python] Question about "starving" the reactor

2011-09-29 Thread Croepha
On Mon, Jun 20, 2011 at 11:23 AM, Luke Marsden < luke-li...@hybrid-logic.co.uk> wrote: > On Mon, 2011-06-20 at 11:09 -0400, Glyph Lefkowitz wrote: > > On Jun 20, 2011, at 7:39 AM, Phil Mayers wrote: > > > On 20/06/11 11:29, Orestis Markou wrote: > > >> It might be there's no way to do guarantee so

Re: [Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread Dorian Raymer
On Thu, Sep 29, 2011 at 3:23 PM, David Kao wrote: > On Fri, Sep 30, 2011 at 6:10 AM, Dorian Raymer wrote: > > > > > > On Thu, Sep 29, 2011 at 2:44 PM, David Kao wrote: > >> > >> I'll take care of the first question. > >> > >> From The Evolution of Finger: making a finger library, > >> > >> h =

Re: [Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread David Kao
On Fri, Sep 30, 2011 at 6:10 AM, Dorian Raymer wrote: > > > On Thu, Sep 29, 2011 at 2:44 PM, David Kao wrote: >> >> I'll take care of the first question. >> >> From The Evolution of Finger: making a finger library, >> >> h = internet.TCPServer(79, IFingerFactory(f)) >> >> notice IFingerFactory? I

Re: [Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread Dorian Raymer
On Thu, Sep 29, 2011 at 2:44 PM, David Kao wrote: > I'll take care of the first question. > > From The Evolution of Finger: making a finger library, > > h = internet.TCPServer(79, IFingerFactory(f)) > > notice IFingerFactory? If you read the earlier parts of the tutorial, > you'll see stuff like

Re: [Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread David Kao
I'll take care of the first question. >From The Evolution of Finger: making a finger library, h = internet.TCPServer(79, IFingerFactory(f)) notice IFingerFactory? If you read the earlier parts of the tutorial, you'll see stuff like components.registerAdapter. It's just magic to create a FingerFa

[Twisted-Python] Bug in Finger Tutorial?

2011-09-29 Thread Dorian Raymer
Hello, I am confused about how the FingerService gets started in the finger/finger.py makeService function. It is never assigned a service parent and it can't service getUser requests if its startService method isn't called; you get an AttributeError: "no attribute 'users'" the way it works now. I

Re: [Twisted-Python] Client/Server to stream text logfiles?

2011-09-29 Thread Jason Rennie
On Thu, Sep 29, 2011 at 10:37 AM, Victor Hooi wrote: > However, what did you mean by it may be "nontrivial to use twisted with > non-twisted friendly libraries"? What would make a library non-Twisted > friendly? > Most important, I think, is for non-reactor code to not block. E.g. if you're usi

Re: [Twisted-Python] Client/Server to stream text logfiles?

2011-09-29 Thread Victor Hooi
heya, Thanks to everybody for their replies =). @Jason Rennie: Thanks for the links - I suspect there's going to be a bit of a curve to me getting on board with Twisted =). Still not sure if Twisted will satisfy all of my requirements, but I'll need to do some more investigation. However, what