Re: [Twisted-Python] handling SIGCHLD

2010-06-08 Thread Michael P. Soulier
I'm using the multiprocessing module right now. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein signature.asc D

[Twisted-Python] handling SIGCHLD

2010-06-08 Thread Michael P. Soulier
d you recommend handling a SIGCHLD in twisted? Many thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein signature.asc Description: Di

Re: [Twisted-Python] turning off chunked transfer-encoding

2010-05-25 Thread Michael P. Soulier
l try that, thanks. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein pgp9VsDTVIEMN.pgp Description: PGP signature ___

[Twisted-Python] turning off chunked transfer-encoding

2010-05-24 Thread Michael P. Soulier
Hi, I noticed that when using twisted.internet.http and returning a Content-type of application/json, the server responds with chunked transfer encoding. I'm debugging a client problem and I'd like to turn chunked transfer encoding off. Is this possible? Thanks, Mike -- Michael

Re: [Twisted-Python] understanding deferreds

2010-01-28 Thread Michael P. Soulier
Callback(cb) is equivalent to d.addCallbacks(cb, passthru) > > d.addErrback(eb) is equivalent to d.addCallbacks(passthru, eb) I think I understand now. I don't think it's adequately explained here http://twistedmatrix.com/documents/current/core/howto/defer.html but the diagram makes more se

[Twisted-Python] understanding deferreds

2010-01-28 Thread Michael P. Soulier
not be called at all, since deferred processing will look for the second callback at that point by the diagram. So, right now I'm calling my own callback from the errback if I want to swallow the error. Is there a better way? Thanks, Mike -- Michael P. Soulier "Any intelligent fool c

Re: [Twisted-Python] Documentation overviews

2009-04-02 Thread Michael P. Soulier
On 02/04/09 Cary Hull said: > # Web clients > > # Web applications using just Twisted > > # Web applications using WSGI (Maybe show how to run Django) # Web proxies, with and without authentication, with and without SSL Mike -- Michael P. Soulier "Any intelligent