Re: a question regarding call-by-reference

2006-02-08 Thread Casey Hawthorne
Don't send the whole list or parts of the list to the server unless actually needed! If the server has to do an append, have the server send back the new elements to be appended and then do the appending on the client side! Or Does the homework specify that the entire mutable type be sent to the

Re: a question regarding call-by-reference

2006-02-08 Thread enjoying the view
Thank you everyone for your helpful replies! I think the problems that arise with nested and overly large lists and dictionaries, and difficulties of handling other mutable datatypes will make my little assignment just too difficult. I'll just specify that call-by-reference isn't supported and lea

Re: a question regarding call-by-reference

2006-02-07 Thread Bengt Richter
On 6 Feb 2006 10:21:45 -0800, "enjoying the view" <[EMAIL PROTECTED]> wrote: >I am working on a school project, trying to build a simple RPC stub >generator. The idea is that the generator takes a normal python file >with functions defined in it and produces a client and server stub. The >client s

Re: a question regarding call-by-reference

2006-02-06 Thread Kent Johnson
enjoying the view wrote: > Imported normally this would work fine. The list given as a parameter > would be one element larger. But when the stubs are generated, the > function doesn't return anything and the list is appended in the server > and the client-side list is left untouched. At first I th

Re: a question regarding call-by-reference

2006-02-06 Thread Claudio Grondi
enjoying the view wrote: > I am working on a school project, trying to build a simple RPC stub > generator. The idea is that the generator takes a normal python file > with functions defined in it and produces a client and server stub. The > client stub has the same functions defined, but they just

Re: a question regarding call-by-reference

2006-02-06 Thread Paul McGuire
"enjoying the view" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am working on a school project, trying to build a simple RPC stub > generator. The idea is that the generator takes a normal python file > with functions defined in it and produces a client and server stub. The > cl

a question regarding call-by-reference

2006-02-06 Thread enjoying the view
I am working on a school project, trying to build a simple RPC stub generator. The idea is that the generator takes a normal python file with functions defined in it and produces a client and server stub. The client stub has the same functions defined, but they just connect to the server and ask it