Re: Return value of multiprocessing manager registerred function

2009-09-01 Thread Terry
On Aug 31, 5:58 pm, jacopo jacopo.pe...@gmail.com wrote:
 Hi Terry,
 I have just started working on similar things and I am strugling to
 find examples or documentations. So far I have found only the official
 documentation of the multiprocessing package. Would you be able to
 recommend me some good reference or a book. I dont want to overwhelm
 this newsgroup with questions... yet :)
 Regards, Jacopo

 On Aug 26, 4:22 am, Terry terry.yin...@gmail.com wrote:



  Hi,

  I'm using the multiprocessing.manager to run proceduresremotely. It
  all worked fine except I hope to have a different return value type.

  The remote function calls always return a proxy, which when I need to
  get the value it need to connect to the manager again to fetch it. But
  I just need the value, not the proxy.

  Can I just return the value instead of a proxy from a manager?

  br, Terry
Hi Jacopo,
Well, I also have had a hard time to find any examples or document
except the official document. I had to read the multiprocessing source
code (they are all in python except the network connection parts). And
I found I need to hack it a little to get it work.
You can share your questions, and maybe it's common to most of us.

br, Terry
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Return value of multiprocessing manager registerred function

2009-08-31 Thread jacopo
Hi Terry,
I have just started working on similar things and I am strugling to
find examples or documentations. So far I have found only the official
documentation of the multiprocessing package. Would you be able to
recommend me some good reference or a book. I dont want to overwhelm
this newsgroup with questions... yet :)
Regards, Jacopo

On Aug 26, 4:22 am, Terry terry.yin...@gmail.com wrote:
 Hi,

 I'm using the multiprocessing.manager to run proceduresremotely. It
 all worked fine except I hope to have a different return value type.

 The remote function calls always return a proxy, which when I need to
 get the value it need to connect to the manager again to fetch it. But
 I just need the value, not the proxy.

 Can I just return the value instead of a proxy from a manager?

 br, Terry

-- 
http://mail.python.org/mailman/listinfo/python-list


Return value of multiprocessing manager registerred function

2009-08-25 Thread Terry
Hi,

I'm using the multiprocessing.manager to run procedures remotely. It
all worked fine except I hope to have a different return value type.

The remote function calls always return a proxy, which when I need to
get the value it need to connect to the manager again to fetch it. But
I just need the value, not the proxy.

Can I just return the value instead of a proxy from a manager?

br, Terry
-- 
http://mail.python.org/mailman/listinfo/python-list