'Return the 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):

    if (not hasattr(self.__local, '__release_local__')):
        return self.__local()
    try:
        return getattr(self.__local, self.__name__)
    except AttributeError:
        raise RuntimeError(('no    object    bound    to    %s' % self.__name__))
