First page Back Continue Last page Overview Graphics
Auto-remoting methods
__getattr__ to work out name used
__call__ to invoke with args
See xmlrpclib._Method
Be careful!
Notes:
Just like xmlrpclib._Method, I didn't make any attempt to not remote methods beginning with underscores. Consequently I ended up with a hard to debug situation where an exception was causing an exception in an exception. This was due to the exception display code displaying frame variables, which in turn called __str__ on each variable, with the __str__ method being remoted on a failed network connection thereby causing another exception.