def getattr(obj, name, *default):
    if len(default) > 1:
        raise TypeError("getattr expected at most 3 arguments, got %d" % (2 + len(default),))
    if orig_isinstance(obj, NetProxy):
        try:
            return obj.__getattr__(name)
        except AttributeError:
            if not default:
                raise
            return default[0]
    else:
        return orig_getattr(obj, name, *default)
Given a forum, fetch the last post that can be read by the passed user.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/Rpyc/Utils/Builtins.py/getattr--crossover with--dataset/ETHPy150Open ellmetha/django-machina/machina/apps/forum_permission/handler.py/PermissionHandler.get_forum_last_post