'Get current object.
This is useful if you want the real
object behind the proxy at a time for performance reasons or because
you want to pass the object into a different context.'

def _get_current_object(self):

    loc = object.__getattribute__(self, u'_Proxy__local')
    if (not hasattr(loc, u'__release_local__')):
        return loc(*self.__args, **self.__kwargs)
    try:
        return getattr(loc, self.__name__)
    except AttributeError:
        raise RuntimeError(u'no    object    bound    to    {0.__name__}'.format(self))
