Re: [Twisted-Python] asynchronous response

2015-12-16 Thread Kevin Mcintyre
Just a follow-up with my own sanity check example. http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html My conclusion is that deferLater is a blocking method - am I wrong? On Wed, Dec 16, 2015 at 4:11 PM, Kevin Mcintyre wrote: > Hey - I'm confused, so noth

[Twisted-Python] asynchronous response

2015-12-16 Thread Kevin Mcintyre
Hey - I'm confused, so nothing new :) ...but I'm running at this example and I'm scratching my head. http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html I would've thought 2 requests could be served simultaneously, but when I fire off 2 requests the first rec

[Twisted-Python] Waiting for transports to close

2015-12-16 Thread Chris Norman
Hi all, I'm writing a MUD server, and I want a way for transports to be notified ofa shutdown before being disconnected, and the reactor being stopped. I've tried: for t in transports: t.write('Shutting down.\r\n') t.loseConnection() reactor.stop() This doesn't seem to notify the transports

Re: [Twisted-Python] Python 2.7 on CentOS 6

2015-12-16 Thread Phil Mayers
On 15/12/2015 16:40, Ray Cote wrote: We have a fair bit of Python 2.7 Twisted code deployed on RHEL and CentOS 5 and 6. In each case, we build from source and do a make altinstall so we’re running a Python separate from the system’s. We build an RPM, but basically yes; put it in a different pat

Re: [Twisted-Python] Suggested plan for GitHub migration

2015-12-16 Thread Glyph Lefkowitz
> On Dec 1, 2015, at 10:09 PM, Tom Prince wrote: > > Glyph Lefkowitz writes: >>> Probably would be a good idea to have a list of such changes *before* the >>> migration. >> >> Yes. Everything should be written up and reviewed beforehand, and > > There has been a lot of words written talkin

Re: [Twisted-Python] Python 2.7 on CentOS 6

2015-12-16 Thread Steve Waterbury
Here (NASA/GSFC) we use conda-based virtual envs on CentOS 6, and they work great -- I turned our sysadmins on to conda about a year ago, and they *love* it (no more compiling python, woo! ;) All recent versions of twisted are available as conda packages: # conda search twisted Fetching package me