Re: Sending Python statement over socket in chunks

2008-02-11 Thread Jeffrey Barish
Diez B. Roggisch wrote: > Stop reinventing the wheel, start using pyro. Then either return the > list as whole, or if it really is to big, return subsequent slices of it. I am using Pyro. Great package. The problem is getting the chunks to send. I am trying to avoid executing the statement, so

Re: Sending Python statement over socket in chunks

2008-02-11 Thread Diez B. Roggisch
Jeffrey Barish schrieb: > I have a python module that contains an assignment statement binding a long > list of things to a name: > > list_of_things = [thing1, thing2, ...] > > where each thing instantiates class Thing when executed. I send this > statement through a socket to a remote module th

Sending Python statement over socket in chunks

2008-02-11 Thread Jeffrey Barish
I have a python module that contains an assignment statement binding a long list of things to a name: list_of_things = [thing1, thing2, ...] where each thing instantiates class Thing when executed. I send this statement through a socket to a remote module that executes it. The problem is that i