James Y Knight wrote: > On Sep 16, 2009, at 12:33 PM, David Yoakley wrote: >> Thanks Phil for the reference to ampoule. We will look at that >> next. We are still hoping to get the parent set up in such a way >> that whatever the forking :-) shared state is, it does not get >> established until after the children are spawed. I'll post back >> later with what we find. Phil your thoughts on this would also be >> appreciated. > > It think it would be a nice for this to work. Importing (but not > running) twisted should ideally not cause strange side effects.
Well, doing: from twisted.internet import reactor ...causes all kinds of code to be executed. I suspect that: posixreactorbase.installWaker() ...is the problem, since this creates an FD pair and adds it to the reactor. I guess this should really be done during reactor.run() _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python