New submission from Henrik Gustafsson <henrik.gustafs...@purplescout.se>:
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 ---------- components: Library (Lib), Macintosh messages: 79464 nosy: gsson severity: normal status: open title: Sending Connection-objects over multiprocessing connections fails type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4892> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com