Re: [Twisted-Python] Non-PDF version of the Twisted book?

2012-03-01 Thread Itamar Turner-Trauring
On 03/01/2012 07:47 PM, Daniel Bryan wrote: I'm new to Twisted and very interested in learning more, and I learn best with something like a book. I came across this: *twisted*matrix.com/documents/current/core/howto/ *book*.pdf I was wondering

Re: [Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread Tobias Oberstein
> Fixing these failing tests, or working on getting the dependencies working on > PyPy, would be a great way to contribute to both Twisted and PyPy. :) > > Jean-Paul It's funny: kqueue seems to be chasing me;) I've got PyPy release built from source on FreeBSD9, and Twisted trunk running complet

[Twisted-Python] Non-PDF version of the Twisted book?

2012-03-01 Thread Daniel Bryan
I'm new to Twisted and very interested in learning more, and I learn best with something like a book. I came across this: *twisted*matrix.com/documents/current/core/howto/*book*.pdf I was wondering if there's a copy of it available in a form other than PDF? I'd like to read it on my Kindle, so i

Re: [Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread exarkun
On 05:05 pm, ita...@itamarst.org wrote: >[snip] >> >>* Are there regular buildslaves running trial on PyPy? Does that make >>sense? > >Hopefully soon, we do want PyPy to be a fully supported official >platform. Not soon - already. We've had a PyPy builder for more than a year now: http://bu

Re: [Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread Reza Lotun
On Thu, Mar 1, 2012 at 5:05 PM, Itamar Turner-Trauring wrote: > > Hopefully soon, we do want PyPy to be a fully supported official platform. The only thing keeping us from trying it out in production is the current incomplete pyOpenSSL support (unless I've missed some new developments on that fr

Re: [Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread Itamar Turner-Trauring
> Couple of points: > > * Have been able to use poll reactor on Linux, but epoll doesnt work .. is > that expected? Maybe because the epoll reactor implementation uses Twisted > own C wrapper instead of the - only > recently - available one in Python standard lib? That was fixed in trunk recently,

Re: [Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread Phil Mayers
On 01/03/12 16:19, Tobias Oberstein wrote: > Just wanted to say: PyPy running Twisted rocks! > > Works just out of the box: PyPy, Twisted + Autobahn. > > Speedups of up to multiple times .. without a single code change. > Interesting. I keep meaning to look into PyPy. > * Have been able to use po

[Twisted-Python] Twisted/PyPy rocks!

2012-03-01 Thread Tobias Oberstein
Just wanted to say: PyPy running Twisted rocks! Works just out of the box: PyPy, Twisted + Autobahn. Speedups of up to multiple times .. without a single code change. Btw: * Tornado seems to be unstable on PyPy .. at least in my testing (sporadic segfaults) * have been able to outperform node.j

Re: [Twisted-Python] connectionMade, TLS and DoS protection timeouts

2012-03-01 Thread Tobias Oberstein
> >I was wondering how I could protect a Twisted server from evil clients > >initiating, but never completing a TLS handshake. > > > >connectionMade is only called when the TLS handshake has completed, > >right? > > Actually, this is not right. It's sort of a wart, but connectionMade is > called

Re: [Twisted-Python] ProcessMonitor stderr stdout

2012-03-01 Thread exarkun
On 12:16 am, kmcint...@greenchargenet.com wrote: >Newbie question: > >I'm calling addProcess and everything works well, but I'm trying to >understand how to capture/handle stderr stdout for that spawned >process. I don't think you'll find a way to do this in the current version of the code. The

Re: [Twisted-Python] connectionMade, TLS and DoS protection timeouts

2012-03-01 Thread exarkun
On 28 Feb, 11:42 pm, tobias.oberst...@tavendo.de wrote: >I was wondering how I could protect a Twisted server from evil clients >initiating, >but never completing a TLS handshake. > >connectionMade is only called when the TLS handshake has completed, >right? Actually, this is not right. It's so