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 > > > >

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 thi

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(

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

2011-09-29 Thread David Kao
ally, so most of the time the code is repeated so you can just skim through it if you had started from the beginning. David Kao On Fri, Sep 30, 2011 at 5:28 AM, Dorian Raymer wrote: > Hello, > I am confused about how the FingerService gets started in the > finger/finger.py makeService

Re: [Twisted-Python] How do I know the server from reactor.listenTCP already started listening?

2011-09-27 Thread David Kao
within 1 sec of running twistd the port is being listened. Or perhaps check it using netstat or something from the outside ... ugly. I have gone through almost the entire tutorial. I am looking for the **source code** for internet.TCPServer David Kao On Tue, Sep 27, 2011 at 5:53 PM, Enrique

Re: [Twisted-Python] How do I know the server from reactor.listenTCP already started listening?

2011-09-27 Thread David Kao
not been able to find code for internet.TCPServer. I would like to be able to trace the code top down. Can someone help? Thanks! David Kao On Tue, Sep 27, 2011 at 5:12 PM, Enrique Samson Jr. wrote: > On Tue, Sep 27, 2011 at 4:33 PM, David Kao wrote: >> >> When the call to list

[Twisted-Python] How do I know the server from reactor.listenTCP already started listening?

2011-09-27 Thread David Kao
most starting a server and a client back-to-back that connects to each other. I would like to know if the server is in "listening" state before my client attempts to connect. Thanks. David Kao ___ Twisted-Python mailing list Twisted-Pyth

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

2011-09-26 Thread David Kao
;, "hello"], childFDs={0:0, 1:1, 2:2}) [root@master1 play]# python fun.py hello Process ended [root@master1 play]# But once again, on a different VM, I only see "hello" and processEnded isn't called. Both VMs run Python 2.7.1 and Twisted 11.0.0 What is going

Re: [Twisted-Python] I see, remote_method can also return a deferred. Perhaps we could document that?

2011-09-22 Thread David Kao
Or we could just use Brian's example. David Kao On Thu, Sep 22, 2011 at 9:19 PM, David Kao wrote: > I almost gave up choosing twisted until I found this explanation > > http://twistedmatrix.com/pipermail/twisted-python/2004-April/007517.html > > which basically says a remo

[Twisted-Python] I see, remote_method can also return a deferred. Perhaps we could document that?

2011-09-22 Thread David Kao
x.html and I do not remember picking this subtlety up. (Or you can point me the right place in doc.) (great doc btw.) Should I submit an improvement ticket for this? I could also make the server side example using Echoer, remote_echo, and deferToThread just so that whoever fixes the ticket can just co

[Twisted-Python] trivial typo in core doc

2011-09-20 Thread David Kao
for me to open a ticket or fix it myself, but for now I am simply recording this typo. David Kao ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python