[Twisted-Python] Dropping Python 2.4 support on Windows after 10.1

2010-06-08 Thread exarkun
Hey all, I would like to propose that after Twisted 10.1 is released, we cease to claim support for Python 2.4 on any version of Windows. This seems reasonable to me considering that Python 2.5 was first released in September of 2006 and that either Windows Python installations can be upgrade

[Twisted-Python] The 10.1 release -- what's happening

2010-06-08 Thread Jonathan Lange
Hello, Many of you have been asking, "what happened to the 10.1 release?" Essentially, glyph and I both had horrible weekends for different reasons. Instead of releasing, I waited around for glyph and fixed a bunch of release-related tickets. I'm going to try to do a pre-release this week. Sorry

Re: [Twisted-Python] handling SIGCHLD

2010-06-08 Thread exarkun
On 05:16 pm, msoul...@digitaltorque.ca wrote: >On 08/06/10 Itamar Turner-Trauring said: >>You should probably just use reactor.spawnProcess to fork processes: >>it >>implements the process handling for you, and has its own SIGCHLD >>handler >>that does the right thing, so you don't have to mainta

Re: [Twisted-Python] handling SIGCHLD

2010-06-08 Thread Jason Rennie
Two options: 1. (as Itamar notes) use spawnProcess for all your process spawning needs 2. reactor.run(installSignalHandlers = False) and do your own signal handling For option #2, you'll almost certainly want to install SIGTERM and SIGINT handlers which call reactor.stop(). Jason On Tu

Re: [Twisted-Python] handling SIGCHLD

2010-06-08 Thread Michael P. Soulier
On 08/06/10 Itamar Turner-Trauring said: > You should probably just use reactor.spawnProcess to fork processes: it > implements the process handling for you, and has its own SIGCHLD handler > that does the right thing, so you don't have to maintain your own. The problem is that I'm using the mult

Re: [Twisted-Python] handling SIGCHLD

2010-06-08 Thread Itamar Turner-Trauring
> Hi, > > I have a twisted service that needs to fork child processes to do tasks, > after > which they will exit. I wrote a signal handler for SIGCHLD but it didn't > seem > to be called. I read something about twisted installing its own signal > handlers that may conflict. Is this true? > > How w

[Twisted-Python] handling SIGCHLD

2010-06-08 Thread Michael P. Soulier
Hi, I have a twisted service that needs to fork child processes to do tasks, after which they will exit. I wrote a signal handler for SIGCHLD but it didn't seem to be called. I read something about twisted installing its own signal handlers that may conflict. Is this true? How would you recommend

Re: [Twisted-Python] Setting a different logger for Twistd

2010-06-08 Thread exarkun
On 02:46 pm, landrevi...@deadtreepages.com wrote: Hello, I saw a few tickets and some mailing list messages similar to this question, but never saw a definitive answer. How do I go about using a different logger when I am using twistd? I have a file that defines the application object and I tri

Re: [Twisted-Python] Setting a different logger for Twistd

2010-06-08 Thread Landreville
On Tue, Jun 8, 2010 at 10:46 AM, Landreville wrote: > Hello, > I saw a few tickets and some mailing list messages similar to this > question, but never saw a definitive answer. > > How do I go about using a different logger when I am using twistd? > > I have a file that defines the application obj

[Twisted-Python] Setting a different logger for Twistd

2010-06-08 Thread Landreville
Hello, I saw a few tickets and some mailing list messages similar to this question, but never saw a definitive answer. How do I go about using a different logger when I am using twistd? I have a file that defines the application object and I tried the following code in hopes that I could make the

Re: [Twisted-Python] Integrating Twisted with ZeroMQ

2010-06-08 Thread Glyph Lefkowitz
So, I agree pretty much completely with everything exarkun said, but I do feel like I should add a bit more here about the high-level questions raised here: On Jun 6, 2010, at 3:59 PM, Laurens Van Houtven wrote: > A potential option for Twisted, which some people don't quite like, would be > to