Re: [Twisted-Python] transport.write performance.

2013-07-31 Thread Laurens Van Houtven
On Jul 31, 2013 4:19 AM, "zipxing" wrote: > > Great! pypy take 20% cpu, 3x fast than cpython! > Thanks! > > A little problem: cjson and ujson can't install to pypy... What's wrong with the builtin json module? > ZipXing > > > > From: _...@lvh.io > > Date: Tue, 30

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-31 Thread Jorge Gonzalez
I found the root cause, and it has nothing to do with Deferreds nor DeferredLists. It was something else in my code unrelated to twisted. Thanks! Jorge On Tue, Jul 30, 2013 at 3:40 PM, Jorge Gonzalez wrote: > Thanks Glyph. > I actually am not able to reduce the behavior to a simpler runnable >

Re: [Twisted-Python] defer.gatherResults & Deferreds chaining

2013-07-31 Thread Glyph
On Jul 31, 2013, at 10:08 AM, Jorge Gonzalez wrote: > I found the root cause, and it has nothing to do with Deferreds nor > DeferredLists. It was something else in my code unrelated to twisted. As is often the case :). This is why we ask for complete examples. Just because you see Twisted fr

[Twisted-Python] TestInternet2.testPickledTimer Failed

2013-07-31 Thread zhang kai
Hi, I'm a Google Summer of Code intern working on "Deferred Cancellation" project. I'm recently working on adding cancellation support to twisted.internet.task.LoopingCall. However, after I added the canceller to LoopingCall.deferred, the twisted.test.test_application.TestInternet2.testPickledTim