Re: [Twisted-Python] Question about TAC apps and TCPClient/Server vs reactor.connect/listenTCP

2009-12-21 Thread Andrew Bennetts
Paul Goins wrote: [...] > > Any suggestions of how to do this? Should I be specifying only "core" > stuff as services of the application object, and connecting the others > via reactor.connectTCP/listenTCP as needed? Can I add to and remove > services from the application object once the reactor

[Twisted-Python] Question about TAC apps and TCPClient/Server vs reactor.connect/listenTCP

2009-12-21 Thread Paul Goins
I'm embarrassed to ask about this, but I think my understanding may be unclear about the differences in how the various TCP connection functions work in Twisted. For the record, I have read the docs at http://twistedmatrix.com/documents/current/core/howto/application.html. But if I missed somethi

Re: [Twisted-Python] Coding standard question: flowing long imports with parens

2009-12-21 Thread Glyph Lefkowitz
On Dec 21, 2009, at 12:27 PM, Robert Kern wrote: > On 2009-12-21 10:10 AM, Glyph Lefkowitz wrote: >> >> On Dec 21, 2009, at 10:20 AM, James Y Knight wrote: >>> On Dec 21, 2009, at 12:03 AM, Jonathan Lange wrote: Now that we no longer support Python 2.3, may we also allow imports in the

[Twisted-Python] Websites down

2009-12-21 Thread Landreville
I'm getting an error from http://twistedmatrix.com Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 1274684191 Varnish ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/l

Re: [Twisted-Python] Coding standard question: flowing long imports with parens

2009-12-21 Thread Robert Kern
On 2009-12-21 10:10 AM, Glyph Lefkowitz wrote: > > On Dec 21, 2009, at 10:20 AM, James Y Knight wrote: > >> On Dec 21, 2009, at 12:03 AM, Jonathan Lange wrote: >>> Now that we no longer support Python 2.3, may we also allow imports in >>> the following style? >>> >>> from very.long.package import (

Re: [Twisted-Python] Coding standard question: flowing long imports with parens

2009-12-21 Thread Glyph Lefkowitz
On Dec 21, 2009, at 10:20 AM, James Y Knight wrote: > On Dec 21, 2009, at 12:03 AM, Jonathan Lange wrote: >> Now that we no longer support Python 2.3, may we also allow imports in >> the following style? >> >> from very.long.package import ( >> bar, >> foo, >> ) > > > Separating "from X

Re: [Twisted-Python] Coding standard question: flowing long imports with parens

2009-12-21 Thread James Y Knight
On Dec 21, 2009, at 12:03 AM, Jonathan Lange wrote: > Now that we no longer support Python 2.3, may we also allow imports in > the following style? > > from very.long.package import ( >bar, >foo, >) Separating "from X import" and "Y" over a newline totally breaks grepping for impor

Re: [Twisted-Python] A resizable cooperator class for queuing and dispatching jobs

2009-12-21 Thread Terry Jones
I forgot to mention that I put the code for this class onto Launchpad: https://launchpad.net/txrdq Terry ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python