def __init__(self): DummyEndpoint.__init__(self) # when dispatching to partner, we request the function name as # it would appear in the Waldo source file. However, the # compiler mangles it into another name. The call below # ensures that that the mangled name exists. setattr( self, util.endpoint_call_func_name('endpoint_func'), self.endpoint_func)