Re: remote multiprocessing, shared object

2010-04-08 Thread Norm Matloff
Thanks very much, Kushal. But it seems to me that it doesn't quite work. After your first client below creates l and calls append() on it, it would seem that one could not then assign to it, e.g. do l[1] = 8 What I'd like is to write remote multiprocessing code just like threads code (or

Re: remote multiprocessing, shared object

2010-04-08 Thread Kushal Kumaran
On Thu, Apr 8, 2010 at 11:30 AM, Norm Matloff matl...@doe.com wrote: Thanks very much, Kushal. But it seems to me that it doesn't quite work.  After your first client below creates l and calls append() on it, it would seem that one could not then assign to it, e.g. do   l[1] = 8 What I'd

remote multiprocessing, shared object

2010-04-07 Thread Norm Matloff
Should be a simple question, but I can't seem to make it work from my understanding of the docs. I want to use the multiprocessing module with remote clients, accessing shared lists. I gather one is supposed to use register(), but I don't see exactly how. I'd like to have the clients read and

Re: remote multiprocessing, shared object

2010-04-07 Thread Kushal Kumaran
On Thu, Apr 8, 2010 at 3:04 AM, Norm Matloff matl...@doe.com wrote: Should be a simple question, but I can't seem to make it work from my understanding of the docs. I want to use the multiprocessing module with remote clients, accessing shared lists.  I gather one is supposed to use