Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-27 Thread Glyph Lefkowitz
On Mon, Jul 27, 2009 at 11:18 AM, David Bern wrote: > On Fri, Jul 24, 2009 at 12:22 PM, Andrew Francis > wrote: > > Can do. Tell me how to submit a document patch. > David, thanks for trying to answer, but you described a few of the particulars in a slightly non-standard way and you skipped a

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-27 Thread David Bern
On Fri, Jul 24, 2009 at 12:22 PM, Andrew Francis wrote: > > Hi Glyph: > > Can do. Tell me how to submit a document patch. > > Cheers, > Andrew > Browse the SVN for the doc in question and at the bottom is a downloa

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-24 Thread Andrew Francis
Hi Glyph: Can do. Tell me how to submit a document patch. Cheers, Andrew Message: 3 Date: Sun, 19 Jul 2009 12:59:22 -0400 From: Glyph Lefkowitz Subject: Re: [Twisted-Python] Simple Epoll Reactor question To: Twisted general discussion Message-ID: Content-Type: text/plain; charset=UTF-8

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-19 Thread Glyph Lefkowitz
On Sun, Jul 19, 2009 at 12:08 PM, Andrew Francis wrote: > Adding 'from twisted.internet import reactor' wasn't obvious to me. Perhaps > this should also be mentioned on the "Choosing a Reactor" page for > completeness? The "choosing a reactor" document could definitely be made clearer; please f

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-19 Thread Andrew Francis
Hello Glyph et al: Message: 6 Date: Sat, 18 Jul 2009 16:11:42 -0400 From: Glyph Lefkowitz Subject: Re: [Twisted-Python] Simple Epoll Reactor question To: Twisted general discussion Message-ID:     Content-Type: text/plain; charset=UTF-8 On Sat, Jul 18, 2009 at 2:41 PM, Andrew Francis wrote

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-18 Thread Glyph Lefkowitz
On Sat, Jul 18, 2009 at 2:41 PM, Andrew Francis wrote: > What am I doing wrong? Thanks in advance. The first google hit for "epollreactor api" is: . The two lines of code there are the *only* things your program sho

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-18 Thread Cary Hull
Why are you commenting out the 'install' line? After 'install' I normally do 'from twisted.internet import reactor' and use 'reactor' as one would normally. -Cary On Sat, Jul 18, 2009 at 11:41 AM, Andrew Francis wrote: > > Hi Folks: > > I am trying to use the epollreactor. I read the "Choosing a

[Twisted-Python] Simple Epoll Reactor question

2009-07-18 Thread Andrew Francis
Hi Folks: I am trying to use the epollreactor. I read the "Choosing a Reactor" page. However I am not clear on how to actually install and use epollreactor. I thought I could do the following: from twisted.internetimport epollreactor # epollreactor.install() epollreactor.listenTCP(8