Re: proxy for xmlrpc calls

2006-08-14 Thread Fredrik Lundh
Xavier wrote: > I'm attempting to write a proxy for xmlrpc calls. why not use the one in the standard library? > I want to expand this to do something like; > > >>a=MagicObject() > >>x = a.b.c.d > > Then on the last __getattr__ send a call over xmlr

proxy for xmlrpc calls

2006-08-12 Thread Xavier
I'm attempting to write a proxy for xmlrpc calls. I'm starting from this code; class MagicObject: def __call__(self,*args,**kwargs): return MagicObject.__dict__['_stop'](self,self.n,*args,**kwargs) def __getattr__(self,name): if name in