Author gsson
Recipients gsson
Date 2009-01-09.11:46:03
SpamBayes Score 9.63159e-05
Marked as misclassified No
Message-id <1231501567.81.0.886406215073.issue4892@psf.upfronthosting.co.za>
In-reply-to
Content
It seems the old pyprocessing (http://pyprocessing.berlios.de/) can do 
some things that the new multiprocessing package can not; 
sending/receiving connection objects for one.

This is a quite handy functionality, so it would be nice if it were 
reintroduced.

Also, the error message isn't very helpful.

Failing test below.


$ python2.6 pipetest2.py 
asdf
Traceback (most recent call last):
  File "a.py", line 10, in <module>
    print c1.recv()
TypeError: Required argument 'handle' (pos 1) not found

$ PYTHONPATH=processing-0.52-py2.5-macosx-10.5-i386.egg python2.5 
pipetest2.py 
asdf
Connection(handle=5)

$ PYTHONPATH=multiprocessing-2.6.0.2-py2.5-macosx-10.5-i386.egg 
python2.5 pipetest2.py 
asdf
Traceback (most recent call last):
  File "pipetest2.py", line 10, in <module>
    print c1.recv()
TypeError: function takes at least 1 argument (0 given)

$ uname -a
Darwin midori.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 
17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
History
Date User Action Args
2009-01-09 11:46:08gssonsetrecipients: + gsson
2009-01-09 11:46:07gssonsetmessageid: <1231501567.81.0.886406215073.issue4892@psf.upfronthosting.co.za>
2009-01-09 11:46:06gssonlinkissue4892 messages
2009-01-09 11:46:04gssoncreate