mirroring object attributes using xml-rpc

sashang at gmail.com sashang at gmail.com
Wed Jul 5 22:44:57 EDT 2006


Just to make things clearer the problem I have is  if I do this:

c = xmlrpclib.ServerProxy("http://somewhere")
c.i

I get this error:

<Fault 1: "exceptions.TypeError:'int' object is not callable">

So how do I fake things so that xmlrpc knows not to try and call i but
gets the value of i instead?




More information about the Python-list mailing list