Cool.. glad it works.  Just be careful not to expose methods you may not want to; use decorators, attributes, or perhaps a custom method naming scheme to flag methods as exposed if you do it this way.<br><br><div><span class="gmail_quote">
On 9/27/07, <b class="gmail_sendername"><a href="mailto:gregpinero@gmail.com">gregpinero@gmail.com</a></b> <<a href="mailto:gregpinero@gmail.com">gregpinero@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sep 27, 5:08 pm, "Jeff McNeil" <<a href="mailto:j...@jmcneil.net">j...@jmcneil.net</a>> wrote:<br>> Yeah, that code was out of memory and I didn't test it, my apologies.<br>> Need to actually return a value from _dispatch.
<br>><br>> class MyCalls(object):<br>>    def _dispatch(self, method, args):<br>>        try:<br>>            return getattr(self, method)(*args)<br>>        except:<br>>            handle_logging()<br>
><br>> server = SimpleXMLRPCServer(("localhost", 8000))<br>> server.register_instance(MyCalls())<br>> server.serve_forever()<br>><br><br>Thanks, that works.  I'm not sure why I didn't notice it wasn't
<br>returning anything.<br><br>-Greg<br><br><br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote></div><br>