[Twisted-Python] problem with Twisted and Processing

Phil Mayers p.mayers at imperial.ac.uk
Thu Oct 16 13:19:58 EDT 2008

davy zhang wrote:
> I used Processing package for python 2.5 which became an official
> package of python 2.6 named multipleprocess. 'Cause the twisted for
> python 2.6 is not ready, I'm still using python 2.5 on windows

AFAICT the "processing" module does things like "fork"ing a running 
python interpreter and then not immediately exec()ing.

I'm pretty sure that'll cause Twisted (and maybe lots of other apps) to 
explode. However I note you're on Windows (which lacks fork()) so I'm 
not sure what it does there.

Also, the Processing module communicates over pipes/fifos which will 
conflict with Twisted and block the reactor (or the reactor will block 

In short - nice though it looks, I don't think you can use Processing 
with Twisted, or will ever be able to. It's a shame more attention 
wasn't paid to this during development.

You could look at:


Having either of these implementations inside Twisted would be excellent 

More information about the Twisted-Python mailing list