[Twisted-Python] Silencing PotentialZombieWarning

Reza Lotun reza at getpeer.com
Thu Nov 6 09:31:44 EST 2008


Hi All,

I'm working on a multi-platform (win32 and os x) wx + Twisted app,
where I've found the best solution is to run both in a separate thread
- the main thread is wx, and the other is Twisted. It basically works
like a charm (though I'd be interested in hearing about other
approaches. I've also played with wxreactor way back, but didn't find
it as stable).

Because I spawn a few processes (using spawnProcess), and must run my
reactor with installSignalHandlers=0, I get PotentialZombieWarning
errors every time I spawn. Now, I handle reaping of my processes
manually for various reasons, and also install my own signal handlers
(in the main thread; I also pass clearSigInt=False to wx). Is there
any way I can silence these warnings?

Thanks,
Reza


--
Reza Lotun
Senior Software Engineer
GetPeer Limited
reza at getpeer.com




More information about the Twisted-Python mailing list